Hi,
The text file does not recognize the key code of "Enter", it prints '?' instead of new line.
My code is:
String all = textArea.getText();
BufferedWriter bw = new BufferedWriter(
new OutputStreamWriter(new FileOutputStream(file)));
bw.write(all,0,all.length());
bw.close();
best regards,
Ahmed




