Hi,
I think what you need to use here is the directory chooser dialog instead of the save file dialog.
If all you need to do is choose a location, then you should use the following code:
Code:
//Create a file chooser
final JFileChooser fc = new JFileChooser();
//Set the file chooser to allow only directory selection
fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
Hope this helps,
Prachi
--------------------
Software Engineer