Re: How to add rows of text to JTextArea



brightoceanlight@xxxxxxxxxxx (Gil) lun, 25 abr 2005 07:57:21 GMT
(news:adc2ca29.0504242357.39c95abe@xxxxxxxxxxxxxxxxxx)
(comp.lang.java.gui)

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

If you give some importance to portability (wich could be the case since
you're using Java), this is better:

ta.append("row1" + System.getProperty("line.separator")) ;
.