• Post Reply Bookmark Topic Watch Topic
  • New Topic

About TextArea Component

 
cat cater
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
when input more character in TextArea and that more longer. I want it doesnot change forever.How to do?
thanks. ^_^
---cater
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
add these 2 lines to your code

textArea.setLineWrap(true);
textArea.setWrapStyleWord(true);
 
cat cater
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh,thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!