Hi,
I'm just writing about writing to files and use FileWriter. I am using netbeans. I was wondering when a FileWriter object is created is there any way to specify which folder the file is saved to?
Because when I call this on my project it just saved it in the main folder of the netbeans project and looks pretty messy when alot of files are saved.
Thanks in advanceCode:
FileWriter writer = new FileWriter(filename);
writer.write(data);
writer.close();
