Re: New line in a JTextArea (student learning here)



On 29 Jan 2007 19:00:17 -0800, Andrew Thompson wrote:
AFAIU, JRE's on windows did historically return \n\r,
whereas *nix variatns use only \n.

If I'm not mistaken, the Windows line end is \r\n (CRLF).

Also, MacOS has traditionally used \r (CR), although that changed to
\n (LF) with MacOS X (when it became a Unix variant).

/gordon

--
[ don't email me support questions or followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
.



Relevant Pages

  • Re: My PC just broke down.... :(
    ... employees, and the millions and millions of Windows users, use Windows ... >> constantly about that knob. ... >> was actually about MacOS? ... >> Linux boxes with that attitude is a real puzzle. ...
    (comp.sys.mac.advocacy)
  • Re: Laptop =?ISO-8859-15?Q?f=FCr_Studenten?=
    ... arbeiten auf dem Mac in einer Unix-Umgebung ist für mich einfach praktisch. ... Hinzu kommen viele Kleinigkeiten die bei MacOS einfach _besser_ sind. ... Trotzdem brauche ich Windows, da ich momentan mit C# in einer ..NET-Umgebung programmieren muss. ...
    (de.comp.sys.notebooks)
  • Re: Belated look at the OSXhints April Fools front page
    ... however much more useful its Finder folder-view windows were. ... If it hadn't been for the promise of MacOS X, ... I generally only had crashes when I failed to nurse the ... spotting and remembering arbitrary patterns that needed doing. ...
    (uk.comp.sys.mac)
  • RE: Caveat Lector: Beastie Boys Evil
    ... that automatically, silently, installs "helpful" copy protection software on ... MacOS and Windows as soon as you insert the CD into default systems. ... sounds like viral malware behaviour to me. ...
    (Bugtraq)
  • Re: Linux-Notebook gesucht
    ... Gibts aber nur bei MacOS und Windows. ... Linux zu schieben. ... Die Usability von KDE ist faktisch gar nicht vorhanden, ...
    (de.comp.sys.notebooks)