This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTextArea getting to the next line  RSS feed

 
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!