if (dialog.getPath().equals("")) {
JOptionPane.showMessageDialog(null, UICaption.dialog_error_save_path_empty, UICaption.dialog_caption_error, JOptionPane.ERROR_MESSAGE);
loopSNPExporter(dialog);
}
switch (dialog.getId()) {
case 0: new Thread(new ExcelExporter(tabbedPane.getSPanel().getTable(), dialog.getPath())).start(); break;
case 1: new Thread(new ExcelExporter(tabbedPane.getNsPanel().getTable(), dialog.getPath())).start(); break;
case 2: new Thread(new ExcelExporter(tabbedPane.getInPanel().getTable(), dialog.getPath())).start(); break;
case 3: new Thread(new ExcelExporter(tabbedPane.getDelPanel().getTable(), dialog.getPath())).start(); break;
case 4: new Thread(new ExcelExporter(tabbedPane.getSnpPanel().getTable(), dialog.getPath())).start(); break;
default: break;
}
}
}