this.pane = pane;
if (evt.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { try { pane.setPage(evt.getURL()); } catch (Exception ex) { pane.setText("<html>Could not load " + evt.getURL() + "</html>"); } }