How to move viewport for JLabel in a JScrollPane

I have searched through the archived Dev posts and found how to do this with a TextArea but I have not been able to find how for a JLabel within a JScrollPane. What I am hoping to accomplish is to have the scrollbar move down as new lines of text are added to the JLabel, right now the scrollbar kicks in but stays in the position of when it first appears. Any help would be appreciated.

Thanks,

Andy

[419 byte] By [AndyGCa] at [2007-11-27 7:07:07]
# 1
Try the SWING forum for SWING related questions.If you are not required to use a JLabel, the simplest solution would be not to use a JLabel, but a JEditorPane.
thomas.behra at 2007-7-12 18:58:27 > top of Java-index,Java Essentials,New To Java...
# 2
I didn't know about the JEditorPane, looks to be what I need - thanks!Andy
AndyGCa at 2007-7-12 18:58:27 > top of Java-index,Java Essentials,New To Java...