Hi all,
I'm using JTextArea in a JScrollPane to dump many lines of text from the program... By default, the view doesn't move when new lines of text are added.
Conversely, java.awt.TextArea does move to the bottom.
Is there a quick and easy way to change this behavior in Swing and make the view go to the bottom?
Thanks.
P.S. problem solved: JTextArea.setCaretPosition(int). Thanks to
banana.