Java JEditorPane

Posted by ikurtz on Stack Overflow See other posts from Stack Overflow or by ikurtz
Published on 2010-04-26T19:29:55Z Indexed on 2010/04/26 19:33 UTC
Read the original article Hit count: 298

Filed under:
|

ChatGUI

im using 2 JEditorPane to transfer text from one to another.

once i have transfered the data i do the following:

JEditorPane.setText(null);

JEditorPane.setCaretPosition(0);

but as you can see from the attached image the return action makes the prompt appear a row down. how can i fix this?

© Stack Overflow or respective owner

Related posts about java

Related posts about jeditorpane