开发者

Line break in textOutputField

开发者 https://www.devze.com 2023-01-04 08:20 出处:网络
here is my code. i get the data from web and store in bufval and print textoutputfield but we require a line break a specific position in the textoutput field if we use line break in php page where we

here is my code. i get the data from web and store in bufval and print textoutputfield but we require a line break a specific position in the textoutput field if we use line break in php page where we get the data the output is show msg and attach this (

).

String strResult = new String(bufVal); synchronized (UiApplication.getEventLock()) { textOutputField.setText(strResult); 开发者_JAVA技巧 }


why don't you try add "\n" character where you want the line break to be.

0

精彩评论

暂无评论...
验证码 换一张
取 消