🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10843

Re: Tree with hyperlinks possible?

#10843
From: Jonathan
Date: Mon, 09 Aug 1999 00:00
24 lines
1145 bytes
you should have a look at TreeCellRenderer and a Tree Model

you can name leafs with the hyperlink, and when you click on the leaf the
link is made to the URL, either through a browser or a self developed one.

don't hesitate to ask for more assistance


Lois Neo wrote in message <7oh7kl$2jj1@forums.borland.com>...
>Hi,
>
>Is it possible to build some kind of tree structure having JTree
>functionality but the nodes are in a form of hyperlinks which
>(i) link to some documents (for leaf nodes) or
>(ii) expand a parent node
>with a single click?
>
>How can I go about doing that?
>
>Thanks for any help given
>
>Lois
>
>
Technical Details
Message-ID: <7omlu8$7i73@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7oh7kl$2jj1@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5569aa7b116a04ae
X-Google-Attributes: gid111d45,public
From: "Jonathan" <plaskowj@logica.com>
Subject: Re: Tree with hyperlinks possible?
Date: 1999/08/09
Message-ID: <7omlu8$7i73@forums.borland.com>
X-Deja-AN: 510597654
References: <7oh7kl$2jj1@forums.borland.com>
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing