boolean (ConfigurationException exception) { if (exception == null) { myErrorLabel.setVisible(false); return true; } if (myErrorLabel.isEnabled()) { myErrorLabel.setText(HtmlChunk.body().children( HtmlChunk.text(exception.getTitle()).wrapWith("strong"), HtmlChunk.text(":"), HtmlChunk.br(), exception.getMessageHtml() ).wrapWith("html").toString()); myErrorLabel.setVisible(true); } else { Messages.showMessageDialog(this, exception.getMessage(), exception.getTitle(), Messages.getErrorIcon()); } return false; }