🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Tree with hyperlinks possible?

#10707
From: Tad Frysinger
Date: Fri, 20 Aug 1999 00:00
31 lines
1460 bytes
In article <7on4pn$80m6@forums.borland.com>, slneo@cybergal.com says...
> Jonathan <plaskowj@logica.com> wrote in message
> news:7omlu8$7i73@forums.borland.com...
> > 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
> 
> what do you mean by "name leafs with the hyperlink"?
> 
> > link is made to the URL, either through a browser or a self developed one.
> >
> > don't hesitate to ask for more assistance
> >
> >
> 
> how can I make each node look like a hyperlink? e.g. have an underlined text
> when the mouse pointer moves over the node, or some other possible ui?
> 
> --
> Thanks for any help given
> 
> Lois
> 
> 
> 
> 
Use a custom renderer, and set the Font appropriately.  You are probably 
going to want to track mouse movement here also, to change the cursor to 
something that indicates "linkability".

Tad Frysinger (TeamB)
Technical Details
Message-ID: <MPG.122705a1b2c5a05198968f@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7oh7kl$2jj1@forums.borland.com> <7omlu8$7i73@forums.borland.com> <7on4pn$80m6@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: tfrysinger@earthlink.net (Tad Frysinger)
Subject: Re: Tree with hyperlinks possible?
Date: 1999/08/20
Message-ID: <MPG.122705a1b2c5a05198968f@forums.borland.com>
X-Deja-AN: 515106796
References: <7oh7kl$2jj1@forums.borland.com> <7omlu8$7i73@forums.borland.com> <7on4pn$80m6@forums.borland.com>
Organization: RTOne
Newsgroups: borland.public.jbuilder.java.swing