Search:

Type: Posts; User: Java Programmer

Search: Search took 0.08 seconds.

  1. Replies
    10
    Views
    1,412

    Re: FileWrite Over-Writing txt Files. D:

    Yes but im using it for a button and not a class
  2. Replies
    10
    Views
    1,412

    Re: FileWrite Over-Writing txt Files. D:

    Same Code I Posted Earlier.

    Im not sure how to add a throw? o.o
  3. Replies
    10
    Views
    1,412

    Re: FileWrite Over-Writing txt Files. D:

    sorry i read that wrong, no its working but it writesover like

    username: lol
    password: lol

    If i login with a password like lol2 the txt file will say
    username: lol
    password: lol2
  4. Replies
    10
    Views
    1,412

    Re: FileWrite Over-Writing txt Files. D:

    Like i'm making a dashboard for logging in to a another window
    i don't know if it should be before are after, what do you think?
  5. Replies
    10
    Views
    1,412

    Re: FileWrite Over-Writing txt Files. D:

    Throws: IOException ?
  6. Replies
    10
    Views
    1,412

    FileWrite Over-Writing txt Files. D:

    Is There anyway to prevent this from happening?



    File myFile = new File(username.getText() + ".txt");
    try {

    FileWriter fw = new FileWriter(myFile);
    PrintWriter pw =...
Results 1 to 6 of 6