}
}
public void dancingFlamesSaveProjectBtn_clicked() {
try {
JFileChooser chooser = new JWFDanceFileChooser(prefs);
if (prefs.getOutputJWFMoviePath() != null) {
try {
chooser.setCurrentDirectory(new File(prefs.getOutputJWFMoviePath()));
}
catch (Exception ex) {
ex.printStackTrace();
}
}
if (chooser.showSaveDialog(poolFlamePreviewPnl) == JFileChooser.APPROVE_OPTION) {
File file = chooser.getSelectedFile();
new JWFDanceWriter().writeProject(project, file.getAbsolutePath());
prefs.setLastOutputJWFMovieFile(file);
}
}
catch (Throwable ex) {