I use a FileWriter and a BufferWriter to write in a file. The file \"test.txt\" is created but nothing is written inside.
The file should be written in the ActionEve
Close or flush the writer:
FileWriter fw = new FileWriter("test.txt"); BufferedWriter out = new BufferedWriter(fw); out.write("aString"); out.close();