public HyperlinkListener createHyperLinkListener(){ return new HyperlinkListener() { public void hyperlinkUpdate(HyperlinkEvent e) { if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { if (e instanceof HTMLFrameHyperlinkEvent) { ((HTMLDocument)ep_anz_r.getDocument()). processHTMLFrameHyperlinkEvent((HTMLFrameHyperlinkEvent)e); } else { try { ep_anz_r.setPage(e.getURL()); } catch (IOException ioe) { System.out.println("IOE: " + ioe); } } } } };}