Re: How to add rows of text to JTextArea
- From: brightoceanlight@xxxxxxxxxxx (Gil)
- Date: 25 Apr 2005 00:57:21 -0700
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
.
- Follow-Ups:
- Re: How to add rows of text to JTextArea
- From: znôrt
- Re: How to add rows of text to JTextArea
- References:
- How to add rows of text to JTextArea
- From: brightoceanlight
- Re: How to add rows of text to JTextArea
- From: Daniel
- How to add rows of text to JTextArea
- Prev by Date: Re: Table cell renderer problem - paint problem?
- Next by Date: Hide Maximize Button of JFrame And Problems!
- Previous by thread: Re: How to add rows of text to JTextArea
- Next by thread: Re: How to add rows of text to JTextArea
- Index(es):