}
catch (Exception ex) {
ex.printStackTrace();
}
}
if (chooser.showOpenDialog(flameRootPanel) == JFileChooser.APPROVE_OPTION) {
File file = chooser.getSelectedFile();
prefs.setLastInputSoundFile(file);
project.setSoundFilename(jLayer, file.getAbsolutePath());
enableControls();
}