how to insert or append new line on top of the jtextarea in java swing ?
i want to to append jtextarea and add the new line on top of the jtextarea
please help me how to do this.
how to insert or append new line on top of the jtextarea in java
Share
Your best option is to directly modify the underlying
Documentof theJTextArea.Here is a small demonstration of this: