JOptionPane.showMessageDialog(Cytoscape.getDesktop(),
"<html>SBML network has to be loaded before validation.<br>" +
"Import network from BioModel or load network from file or URL first.");
}
else{
ValidationDialog validationDialog = new ValidationDialog((JFrame) Cytoscape.getDesktop(), doc);
validationDialog.setVisible(true);
}
}