🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

associating numbers to tree nodes

#8503
From: Marty
Date: Thu, 10 Aug 2000 00:00
11 lines
944 bytes
Hi folks

is there any way of associating a number to each node of a tree.  When i
call getLastSelectedPathComponent  on my tree listener, i would like a
number to be associated with this node.  I know each child of a node is
indexed but can a unique number be associated to an individual tree node.

I need to to this as i need to use this number in  a switch statement

cheers
marty
Technical Details
Message-ID: <3992aaa0_2@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,738470ef658ff278,start
X-Google-Attributes: gid111d45,public
From: "Marty" <mlynch@telesoft-technologies.com>
Subject: associating numbers to tree nodes
Date: 2000/08/10
Message-ID: <3992aaa0_2@dnews>
X-Deja-AN: 656747651
X-Trace: 10 Aug 2000 06:14:08 -0800, 154.32.25.24
X-MSMail-Priority: Normal
X-Priority: 3
Reply-To: "Marty" <mlynch@telesoft-technologies.com>
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700