Writing from JTextArea to File, No Break Lines?
Ok I can type into the JTextArea and save it to a file, however when I
open the file in notepad for example it has no breaklines. When loaded
back into my program the file has the breaklines again.
I want to know why this happens, whats the point why not just have it the
same? and how to make the format be the same when outputting to file so it
is the same as it looks in the JTextArea.
In the JTextArea api I do not see any methods that give me any clue on how
to do this. Thanks!
No comments:
Post a Comment