Printable View
How do I know that the user cancels the dialog? Thanks!
Nevermind. Thanks btw, it's Code: if (fileChooser.showSaveDialog(this) == JFileChooser.CANCEL_OPTION) return;
if (fileChooser.showSaveDialog(this) == JFileChooser.CANCEL_OPTION) return;