Position « JTextArea « Java Swing Q&A





1. Maintaing JTextArea scroll position    stackoverflow.com

I have a JScrollPane with a JTextArea set as its view port. I update the (multi line) text shown on the JTextArea continously about once a second. Each time the text updates, ...