if (strPath != null && strPath.length() > 0)
fd.setCurrentDirectory(new File(strPath));
else if (this.baseDir != null)
fd.setCurrentDirectory(new File(this.baseDir));
else fd.setCurrentDirectory(new File(System.getProperty("user.dir")));
int res = fd.showSaveDialog(this);
setBoolean(startButton, "enabled", false);
File iFile = null;
if (res == JFileChooser.APPROVE_OPTION) iFile = fd.getSelectedFile();
if (iFile != null) {
setString(path, "text", iFile.toString());