Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

positioning JTextArea within JScrollpane

 
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!