title: How to prevent JScrollPane from automatically scrolling down?
body: <p>I am using a <code>JScrollPane</code> which contains inside it a <code>JTextArea</code>. The problem is when the <code>JTextArea</code> is populated with a lot of text, the <code>JScrollPane</code> automatically scrolls down. What property should I set on the <code>JScrollPane</code> to avoid this automatic scrolling down? Thanks. </p>