Search:

Type: Posts; User: GoodbyeWorld

Search: Search took 0.42 seconds.

  1. Re: Getting extra lines when saving and loading into a JTextArea

    So, the "\n" is cross platform already.

    Also, when you say "writing to disk", do you mean the hard drive, and hence that I shouldn't use JTextArea write() or whatever it was called to do it?
    ...
  2. Re: Getting extra lines when saving and loading into a JTextArea

    Thanks. So, what do you use then for a cross-platform line break thing? I heard that "\n" was only for Windows or something. That it wouldn't work on all systems.

    (By the way, I did get it...
  3. Getting extra lines when saving and loading into a JTextArea

    I have made a SSCCE, it only has what I need. The problem happens to be replicated in this section, so my hunch was correct of where the problem was coming from. I think I might know the issue.
    ...
Results 1 to 3 of 3