We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi there,
As seen in SaveFile2 in the example, you can save a file with PrintWriter like:
PrintWriter output = createWriter("log.txt"); output.println("This is a log"); output.flush(); output.close();
However, log.txt will be overwritten when you run this code twice. Does anyone know how to "append" text to a file?
Best..Yui
Answers
@ arco=== that is easy::
Thank you akenaton,
For readers, I should paste working example.