I\'m trying to use the JFileChooser to get files for loading and saving. The dialog that comes up with openFileDialog() works fine, but when I use
JFileChooser
openFileDialog()
What I ended up doing was to use:
JFileChooser chooser = new JFileChooser(...); chooser.showDialog(myFrame, "Save");
My save dialog looks like a save dialog, and the FileFilter greys out only files that fail its test.
FileFilter