🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Jtree

#1408
From: John McGrath [TeamB]
Date: Sat, 20 Dec 2003 00:46
20 lines
1563 bytes
On 12/19/2003 at 2:08:00 AM, Rudy wrote:

> i need to look at the TreePath class and the node class i think

Yes, you would need use the TreeNode interface to get the object held
in the tree node.  A TreePath would be one way to get at the nodes, but
it is not the only way.

The Java Tutorial has a pretty good section on using JTrees:

   http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <3fe3a9fd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <3fe0a530@newsgroups.borland.com> <3fe2345e$1@newsgroups.borland.com> <3fe2a3e0$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,86c66a75c4a1f597
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-12-19 17:49:31 PST
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: Jtree
Newsgroups: borland.public.jbuilder.java.swing
References: <3fe0a530@newsgroups.borland.com> <3fe2345e$1@newsgroups.borland.com> <3fe2a3e0$1@newsgroups.borland.com>
User-Agent: XanaNews/1.15.7.4
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 141.158.232.159
Message-ID: <3fe3a9fd$1@newsgroups.borland.com>
Date: 19 Dec 2003 17:46:37 -0700
X-Trace: newsgroups.borland.com 1071884797 141.158.232.159 (19 Dec 2003 17:46:37 -0700)
Lines: 20
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail