/**
* Displays an error resulting from the specified Exception.
*/
public void displayError(Exception ex) {
JErrorPane pane = new JErrorPane(ex, JOptionPane.ERROR_MESSAGE);
JDialog dialog = pane.createDialog(parentComponent, "ERROR");
dialog.setModal(false);
dialog.show();
}
/**