C
cmk128
Hi
I have a jscrollpandl containing a jtextarea
this can make jtextarea scroll to bottom
Rectangle visible = jTextArea1.getVisibleRect();
visible.y = jTextArea1.getHeight() - visible.height;
jTextArea1.scrollRectToVisible(visible);
but doesn't work for JEditorPane.
thanks
from Peter ([email protected])
I have a jscrollpandl containing a jtextarea
this can make jtextarea scroll to bottom
Rectangle visible = jTextArea1.getVisibleRect();
visible.y = jTextArea1.getHeight() - visible.height;
jTextArea1.scrollRectToVisible(visible);
but doesn't work for JEditorPane.
thanks
from Peter ([email protected])