Re: How to add rows of text to JTextArea



Hi Daniel,

Daniel <daik.no-spam@xxxxxxxxxxxxxxxxx> wrote in message news:<afhn61hf6ee1rn8uj87hiqs93mmqlcm13m@xxxxxxx>...
> take a look at the insert method of the JTextArea
> or if you want it at the very end the append method.
> for your example it would be
> JTextArea ta = JTextArea();
> ta.appen("row1\n");
> ta.appen("row2\n");
> ta.appen("row3\n");
>

It works! ta.append("row1\n"); Thanks very much for the help!

Best,

Gil
.