jMenuItem_Listing.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
try {
ListingWizard wizard = new ListingWizard();
MultipleFieldsMergingTable audioFiles = f.getControlPanel().getAudioFiles();
List fileList = audioFiles.getAudioFiles();
if (fileList != null && fileList.size() > 0) {
Object obj = fileList.get(0);
if (obj instanceof java.io.File)
wizard.setSource((java.io.File) obj);
}
wizard.launch();
}
catch (Exception ex) {
ex.printStackTrace();
}
}