Results 1 to 2 of 2
  1. #1
    counterfox is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default FileWriter choosing a folder to save


    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.

    Java Code:
    FileWriter writer = new FileWriter(filename);
    Thanks in advance

  2. #2
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Zurich, Switzerland
    Rep Power

Similar Threads

  1. Replies: 5
    Last Post: 08-03-2012, 10:47 AM
  2. Replies: 0
    Last Post: 10-28-2010, 12:46 PM
  3. Need advise for choosing book
    By Teodor__b in forum New To Java
    Replies: 2
    Last Post: 02-19-2010, 01:13 PM
  4. Replies: 1
    Last Post: 10-24-2009, 03:10 AM
  5. Choosing a degree concentration
    By xcallmejudasx in forum Jobs Discussion
    Replies: 11
    Last Post: 08-14-2009, 11:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts