Hello, I am new to the group, so please forgive me if this has already been
asked.
I have a JEditorPane. and a custom routine to append HTML text to it, but I
wish to have it automatically scroll down when I add text that doesn't fit
on the screen. So far I have not found a way to do this. Can someone
possibly help me?
Thanks in advance
Daniel
lin - 22 Jan 2008 18:40 GMT
you can use JScrollPane and set "autoscrolls" true
---------------
"Daniel S." <squirrelhavoc(takeout)@(takeout)yahoo.com> дÈëÏûÏ¢ÐÂÎÅ:Xns9A2D7F1566BD9squirrelhavoctakeout@69.28.173.184...
> Hello, I am new to the group, so please forgive me if this has already
> been
[quoted text clipped - 9 lines]
>
> Daniel
Roedy Green - 22 Jan 2008 19:42 GMT
>you can use JScrollPane and set "autoscrolls" true
see http://mindprod.com/jgloss/jscrollpane.html

Signature
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com
Squirrel Havoc - 22 Jan 2008 20:59 GMT
>>you can use JScrollPane and set "autoscrolls" true
>
> see http://mindprod.com/jgloss/jscrollpane.html
Thank you to both of you, after some research on both scroll panes and the
given URL, I believe I have gotten it to work.
Thanks again