Re: How to add rows of text to JTextArea



Thomas Weidenfeller wrote:

> Java always uses
> just '\n', except in I/O methods like like
> BufferedReader.readLine(), which are supposed to to the
> necessary conversion.

Ok, I missed that, thanks. I thought '\n' was "generally acceptable" but not
the canonical thing. Good so, I guess every imaginable artifact you cuould
implent a VM for should have something you can map '\n' to.

> If you append System.getProperty("line.separator") you in
> fact make your application less portable, not more.

Yes, too bad! 8-o

znôrt
.



Relevant Pages

  • Re: Printing without graphics? (was Re: Drawing a rotated Polygon with Graphics2D.)
    ... "Thomas Weidenfeller" wrote in message ... > There are many things wrong with printing in Java. ... IMHO Java needs ... > something completely different for printing than the current system. ...
    (comp.lang.java.gui)
  • Re: How to add rows of text to JTextArea
    ... Java always uses just '\n', except in I/O methods like like BufferedReader.readLine, which are supposed to to the necessary conversion. ... If you append System.getPropertyyou in fact make your application less portable, ... The comp.lang.java.gui FAQ: ...
    (comp.lang.java.gui)
  • Re: Runtime.getRuntime() question
    ... Thomas Weidenfeller wrote: ... >> What about using Java to send the email? ... He didn't care. ... LOL; if he thinks that would be too much hassle I guess there's no point ...
    (comp.lang.java.programmer)