Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to automatically scroll text in JScrollPane

843804Jun 22 2005 — edited Apr 15 2008
Hi there
I have a very simple question...

How to automatically scroll text in JScrollPane?

Text in the TextArea is constantly getting updated... but the scroll bars dont' move as the text changes. Instead I ahve to scroll and see the changes everytime. How can I make the viewport or the scrollpane to show the latest content?

Thanks in advance.
Dexter
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 13 2008
Added on Jun 22 2005
7 comments
182 views