> Hey,
> i have this code:
[quoted text clipped - 6 lines]
> );
> outw.close();
Change line 2 to:
FileWriter outW = new FileWriter(file, false);
> and it works fine. The only thing is i want it to overwrite whatever is
> previously written in registered.txt.
> i do not recall how to do this an couldn't figure it out int he
> documentation.
> if you can help me ill thank you in advance.
http://java.sun.com/j2se/1.5.0/docs/api/java/io/FileWriter.html#FileWriter(java.
lang.String,%20boolean)
--
Asbjørn L. Johansen
asbjorjo@stud.ntnu.no