HyperlinkListener « JEditorPane « Java Swing Q&A





1. JEditorPane & HyperlinkListener    coderanch.com

In my program I am using a JEditorPane to display HTML formated data. I would like to use hyper links to execute different methods in my program. However to the best of my knowledge hyperlinks only work with valid URLs. Is there a way I can get the hyperlinks to call methods in my program? I was thinking I could put ...

2. Can HyperlinkListener detect the click on the anchor in JEditorPane?    java-forums.org

Hi: I have a html document and I want to put it inside a JEditorPane to review. I only need to read so the JEditorPane has 'setEditable(false)'. There are many anchors () inside this html document which points to somewhere within the same html document. I would like 'the click on the anchor wil make JEditorPane to scroll to the place ...

3. JEditorPane - HyperlinkListener - keyboard    forums.oracle.com