Re: about the multilines print out to a GWT widget

2013-12-04 Thread Thomas Broyer


On Wednesday, December 4, 2013 8:54:20 AM UTC+1, baojian Zhou wrote:
>
> hi everybody, I‘m new here. I got a problem when I use the GWT. I want to 
> print out some information in the client widget such as the TextArea. But I 
> cannot find some methods like add() in TextArea when I want to add more 
> information. I want to print out multilines information. Can anyone help me?
>
>
textArea.setValue(textArea.getValue() + "\n" + "some text on a new line")

? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: about the multilines print out to a GWT widget

2013-12-04 Thread salk31
Can't you just use "\n" to split lines? I'm not sure how well this will 
work cross platform, might need a quick Google.

On Wednesday, December 4, 2013 7:54:20 AM UTC, baojian Zhou wrote:
>
> hi everybody, I‘m new here. I got a problem when I use the GWT. I want to 
> print out some information in the client widget such as the TextArea. But I 
> cannot find some methods like add() in TextArea when I want to add more 
> information. I want to print out multilines information. Can anyone help me?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


about the multilines print out to a GWT widget

2013-12-04 Thread baojian Zhou
hi everybody, I‘m new here. I got a problem when I use the GWT. I want to 
print out some information in the client widget such as the TextArea. But I 
cannot find some methods like add() in TextArea when I want to add more 
information. I want to print out multilines information. Can anyone help me?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.