Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2199

HyperlinkListener in JTre

From "andre.sept" <andre.sept@THRWHITE.remove-dii-this>
Subject HyperlinkListener in JTre
Message-ID <1186389899.365210.8560@b79g2000hse.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:37 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
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. I think that is the
wrong way.
I do not know, where I can register the HyperLinkListener in JTree
that the HyperlinkListener fired.

THX and greetings,

Andr=E9 Sept

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar | Unroll thread


Thread

HyperlinkListener in JTre "andre.sept" <andre.sept@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
  Re: HyperlinkListener in "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000

csiph-web