Article View: borland.public.jbuilder.java.language
Article #8505Expanding a JTree...need example.
From: Ken Warner
Date: Thu, 15 Mar 2001 22:50
Date: Thu, 15 Mar 2001 22:50
12 lines
1188 bytes
1188 bytes
Hi, Does anyone have a working example of how to expand a JTree to show a particular node? For example: I have a three level tree and I want to show a leaf node at the third level. I make the tree and it starts up just showing the root. How do I programatically make the JTree expand to show a particular leaf node? -- Ken Warner
Technical Details
Message-ID:
<3AB14746.A376B862@cts.com>Path:
arc1-ca.pugleaf.net!pubnews.netcom.net.uk!diablo.netcom.net.uk!netcom.net.uk!btnet-peer!btnet!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!216.120.80.235Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,71f2045260b47788,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-17 07:55:13 PST Message-ID: <3AB14746.A376B862@cts.com> Date: Thu, 15 Mar 2001 16:50:46 -0600 From: Ken Warner <kwarner@cts.com> X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Expanding a JTree...need example. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.120.80.235 X-Trace: 15 Mar 2001 16:50:11 -0800, 216.120.80.235 Lines: 14 Path: arc1-ca.pugleaf.net!pubnews.netcom.net.uk!diablo.netcom.net.uk!netcom.net.uk!btnet-peer!btnet!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!216.120.80.235