This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am having a JTextArea the content of which gets appended when a certain method is called. The scrollbar scrolls upwards when a new line gets appended to the jtextarea. But the scrollbar scrolls downwards when the line is appended to the JtextArea if i am appending the line via actionPerformed method. What i want is to force a downward movement of the scrollbar as and when the text is appended to the Jtext area. how do i force this behaviour. I am having a JScrollPane on which i am adding the Jtextarea