HyperlinkListener in JTree

A

andre.sept

Hello,

I have a Problem with a JTree. I want display the Text in the Nodes
with HTML.

- RootNode
- Node1 text bla bla <Link1> normal text <Link2>
- Node2 text bla bla <Link3> normal text <Link4>

I create a TreeCellRenderer and a TreeCellEditor who extend from
JEditorPane and registered a HyperlinkListener.
The htmltext is properly indicated in the Tree.
I do not know, where I can register the HyperLinkListener in JTree
that the HyperlinkListener fired.

THX and greetings,

André Sept
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top