Justin Fox
,
Ranch Hand
is there a function to make a JScrollPane auto-scroll as
text is appended to it?
Justin
Mathias Nilsson
,
Ranch Hand
What do you mean by autoscroll?
If yoy want the scrollbar to scroll to bottom every time some text is appended use the following
the MYTextArea is the variable for your text area. Use MyTextArea.getDocument().addDocumentListener( new UpdateListener() ); to add the listener
// Mathias