Set the cursor position in a JTextAreaTag(s): Swing
To the top
myJTextArea.setCaretPosition(0);
myJTextArea.setCaretPosition(myJTextArea.getDocument().getLength());
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com