Try opening the file in append mode, new FileWriter(fileName, true); Also you will need to loop trhough each line of the Queue rather than just dumping it onto the saveStringToFile() function. But...
Type: Posts; User: Freaky Chris
Try opening the file in append mode, new FileWriter(fileName, true); Also you will need to loop trhough each line of the Queue rather than just dumping it onto the saveStringToFile() function. But...
If using the BufferedWriter class then the .newLine() function would work. However, i'm not to sure where you are specifying that there should be a new line printed. From my understanding you are...
Print the following to the file stream.
System.getProperty("line.separator");
Chris