In jdk1.3rc1, after calling JTextArea's setText() method, the JTextArea (inside a JScrollPane) scrolls to the end of the text. Is there a way to force the JTextArea to scroll all the way to the top after calling setText()? (It appears this behavior is new to 1.3...)

Curtis Hatter



That should automatically scroll the text area back up top.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact