Search:

Type: Posts; User: copeg

Search: Search took 0.43 seconds.

  1. Replies
    10
    Views
    1,225

    Re: What Wrong With My Code: IOException.

    FileWriter fw = new FileWriter(myFile);

    How is this not using the FileWriter class? When you create a FileWriter, it creates a new file - overwriting any previous file UNLESS you have specified...
  2. Replies
    10
    Views
    1,225

    Re: What Wrong With My Code: IOException.

    Read the API for FileWriter...use the constructor that accepts an append boolean argument
    FileWriter (Java Platform SE 6)
Results 1 to 2 of 2