Results 1 to 2 of 2
  1. #1
    Daryn is offline Senior Member
    Join Date
    Oct 2012
    Rep Power

    Default Saving to a folder in Java

    Alright so Im not sure were to begin with this. In my program I want it to search for a file on the computer,if not there create it, and then save to it. So far all I could find JFileChooser and thats not what i want. Could anyone please explain how to do this

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power

    Default Re: Saving to a folder in Java

    So far all I could find JFileChooser and thats not what i want
    So, what is it about JFileChooser that is not appropriate to what you are trying to do? It might help if you explained the task a little more. Do you want the search to take place without any user interface (such a JFileChooser provides)? Could the file be anywhere "on the computer" or is its possible location known to some extent? What is known about the file - ie how would the search recognise the file if it were found?

    Your post identified three tasks: (1) Searching for a file (with the ambiguities noted above) (2) Creating a file and (3) Writing data to a file. Which is proving difficult?

Similar Threads

  1. Saving java application data
    By jsobel in forum Advanced Java
    Replies: 2
    Last Post: 06-20-2012, 04:39 PM
  2. Creating Folder using Java
    By Amey in forum New To Java
    Replies: 4
    Last Post: 05-25-2012, 04:35 PM
  3. issues while saving a '.java' file in the bin.
    By akshayshukla in forum New To Java
    Replies: 3
    Last Post: 04-29-2012, 03:02 PM
  4. Where is the Java folder-tree on a Mac?
    By Pofadda in forum Android
    Replies: 1
    Last Post: 06-23-2011, 07:39 PM
  5. Replies: 0
    Last Post: 10-28-2010, 12:46 PM

Posting Permissions

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