When the user clicks on a link in a non-editable JEditorPane, the pane fires a HyperLinkEvent
Responded to by any registered HyperLinkListener objects
public interface HyperLinkListener {
public void hyperlinkUpdate(HyperlinkEvent e)
}
The public URL getURL()HyperlinkEvent object passed to this method contains the
URL of the event which is returned by its getURL() method: