Results 1 to 3 of 3
  1. #1
    javapenguin is offline Member
    Join Date
    Oct 2010
    Posts
    1
    Rep Power
    0

    Smile Using JFileChooser to save and load files.

    I have no clue how to use JFileChooser to save and load files. I know I have a thread in Java Programming Forums, but this one will deal just with saving and loading.

    )

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by javapenguin View Post
    I have no clue how to use JFileChooser to save and load files. I know I have a thread in Java Programming Forums, but this one will deal just with saving and loading.

    )
    Hello and welcome to the java-forums.org.

    With regards to your question, if I had a similar question, the first place I'd look would be the Oracle Java Tutorials to see if there was a relevant chapter covering this, and in fact there is: How to use File Choosers

    So knowing this, my advice to you is to study the tutorial and the sample code, and then come on back with a specific question if you don't understand a portion of it.

    Best of luck and again, welcome!

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default

    Asking how to use JFileChooser to save and load files is like asking how to use a restaurant menu to fill your stomach. Once you select your meal, it still has to be ordered, prepared and served before you can tuck in :)

    First sentence from the API (emphasis added):
    JFileChooser provides a simple mechanism for the user to choose a file.

    Recommended reading:
    Lesson: Basic I/O (The Java™ Tutorials > Essential Classes)

    Nice that there's no bill to pay afterwards ;)

    db

Similar Threads

  1. Save/Load ArrayList
    By chielt in forum New To Java
    Replies: 3
    Last Post: 05-08-2011, 07:12 PM
  2. JFileChooser - sequential files treatment
    By althair in forum AWT / Swing
    Replies: 2
    Last Post: 01-03-2010, 04:55 PM
  3. Arraylist Save and Load
    By frankycool in forum Advanced Java
    Replies: 1
    Last Post: 11-14-2009, 11:29 PM
  4. save will work but load wont?!?!
    By Sticks_ll in forum New To Java
    Replies: 1
    Last Post: 06-12-2008, 05:19 AM
  5. How to Save/Load Vector to/from file
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-14-2008, 09:37 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
  •