Search:

Type: Posts; User: Freaky Chris

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    2,338

    Re: write text to a file help

    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...
  2. Replies
    8
    Views
    2,338

    Re: write text to a file help

    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...
  3. Replies
    8
    Views
    2,338

    Re: write text to a file help

    Print the following to the file stream.

    System.getProperty("line.separator");

    Chris
Results 1 to 3 of 3