• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTextArea getting to the next line

 
Freya Tan
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a JTextArea for entering things.. and i'm not sure how can i set the JTextArea to be able to go to the next line (when user is typing) automatically.. As my now are kept typing in a Straight line..
Thanks
 
Carlos Failde
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy.
Are you looking for setLineWrap?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!