Search:

Type: Posts; User: GregBrannon

Search: Search took 0.12 seconds.

  1. Replies
    4
    Views
    1,811

    Re: JTextArea windows friendly line break

    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...
  2. Replies
    4
    Views
    1,811

    Re: JTextArea windows friendly line break

    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.
Results 1 to 2 of 2