scroll to bottom

Discussion in 'Java' started by, Jul 27, 2005.

  1. Guest

    I have a jscrollpandl containing a jtextarea
    this can make jtextarea scroll to bottom

    Rectangle visible = jTextArea1.getVisibleRect();
    visible.y = jTextArea1.getHeight() - visible.height;

    but doesn't work for JEditorPane.
    from Peter ()
    , Jul 27, 2005
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.