String errMsg = validateInput();
if (errMsg.isEmpty()) {
resetProgress();
TabPageController tabController = new TabPageController(AnalysisType.MULTISAMPLE_BAM_QC);
MultisampleBamQcThread t = new MultisampleBamQcThread(this, tabController );
t.start();
} else {
JOptionPane.showMessageDialog(this, errMsg, "Validate Input", JOptionPane.ERROR_MESSAGE);
}
} else {
updateState();