I am messed up with jscrollbar in my applcation.I have a jtextarea with jscrollpane in my application. Whenever the text in the textarea fills up completely , i want the scrollbar to scroll down. As soon as new text is added to the textarea , the scrollbar should move down. I tried everything(view port etc,) but ended up with no luck..
Any idea of how to set the jscrollbar automatically ..
Thanks in advance