Hi again,,
I faced another problem--> When I save as txt file the text from
JTextArea will be saved in one line only!!!
for example:
Hello World.
This is
java.
End.
this text from JTextArea will be saved in txt file as follow:
Hello World.This is java.End.
I want it to be line by line(separate lines).
(note: when I save it as
word doc, it will be saved line by line without any problem!)
any help please!!!