/** * Create a file chooser for the save file dialog. Subclasses may override this method in order to * customize the save file dialog. */ protected JFileChooser createSaveFileChooser() { JFileChooser saveDialog = new JFileChooser(); saveDialog.setDialogTitle("Save File..."); return saveDialog; }
/** * Create a file chooser for the open file dialog. Subclasses may override this method in order to * customize the open file dialog. */ protected JFileChooser createOpenFileChooser() { JFileChooser openDialog = new JFileChooser(); openDialog.setDialogTitle("Open File..."); return openDialog; }