}
catch (Exception ex) {
ex.printStackTrace();
}
}
if (chooser.showSaveDialog(flameRootPanel) == JFileChooser.APPROVE_OPTION) {
File file = chooser.getSelectedFile();
prefs.setLastOutputFlameFile(file);
PostRecordFlameGenerator generator = new PostRecordFlameGenerator(Prefs.getPrefs(), project, actionRecorder, renderThread, project.getFFT());
generator.createRecordedFlameFiles(file.getAbsolutePath());
}