JFileChooser chooser = OpenSaveDialog.initializeDialog(new String[]{"gan"},
lang.getString("GanttProjectFileFormats"));
if (chooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
ProjectSelection ps = new ProjectSelection(logic, true);
if (ps.getSelection() != null && ps.getSelection().size() > 0) {
GanttImporter gimp = new GanttImporter(logic.getDBControl(), chooser.getSelectedFile(), ps.getSelection());
gimp.start();
}
}
}//GEN-LAST:event_mnImportFromGanttActionPerformed