I haven't completely thought it through, but using that (maybe), with this link "Newlines" on the JTextArea API, and the discussion at the destination, Class DefaultEditorKit, something should be...
Type: Posts; User: GregBrannon
I haven't completely thought it through, but using that (maybe), with this link "Newlines" on the JTextArea API, and the discussion at the destination, Class DefaultEditorKit, something should be...
You should be able to initialize a line feed/carriage return character for the host OS using
System.getProperty( "line.separator" );
Let us know how it works out.