FileChooser

String filename = File.separator+"tmp";
J fc = new J(new File(filename));

// Open file dialog.
fc.showOpenDialog(frame);
openFile(fc.getSelectedFile());

// Save file dialog.
fc.showSaveDialog(frame);
saveFile(fc.getSelectedFile());

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.