Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

positioning JTextArea within JScrollpane  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i created a JTextArea within a JScrollPane. after appending multiple lines to the JTextArea, the last line is displayed in the ViewPort. is there a way to automatically position back to the first line (top) of the JTextArea before displaying it?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!