About JTextArea and JScrollPane question

I make a swing program to run a test,a JTextArea can display the test content ,and the content increased continuously,but the vertical scroll bar is always on the top .I want the vertical scroll bar at the bottom at all time so that we can read the newest content from JTextArea.

How can I do?

[306 byte] By [David001a] at [2007-10-2 0:48:42]
# 1
textArea.setCaretPosition( textArea.getDocument().getLength() );
camickra at 2007-7-15 17:58:47 > top of Java-index,Desktop,Core GUI APIs...
# 2
Thank you!
David001a at 2007-7-15 17:58:47 > top of Java-index,Desktop,Core GUI APIs...