public static void error(String message, String title) {  error(null, message, title);
public static void error(Component comp, String message, String title) {  MatrixTree tree = MatrixTreeBus.getActiveTree(); if (tree == null) { JOptionPane.showMessageDialog( comp, message, title, JOptionPane.ERROR_MESSAGE ); return; } ErrorDialog errorDialog = ErrorDialog.getErrorDialog(message, title, tree.getLocationOnScreen(), tree.getSize()); errorDialog.show();
	public static void error(String message, String title) {		// see the JOptionPane docs about using null as a component		error(null, message, title);	}