int result = fc.showSaveDialog(new JPanel());\r
if (result == JFileChooser.APPROVE_OPTION) {\r
currentFile = fc.getSelectedFile().getPath();\r
int result = fc.showSaveDialog(new JPanel());\r
if (result == JFileChooser.APPROVE_OPTION) {\r
currentFile = fc.getSelectedFile().getPath();\r