Article View: borland.public.jbuilder.java.swing
Article #10124Re: Immediately expanding tree nodes
From: Rich Wilkman
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
33 lines
1720 bytes
1720 bytes
Jeff: I believe it only expands the children of that given TreeNode. If you have to go deeper, you have to walk down the path yourself and expand those TreeNodes as well. -Rich Jeff Marendo wrote: > > Thanks Greg. The expandPath function worked well for my root node, but I > had some trouble getting it to work for other nodes in the tree (that had > child nodes beneath them). I'm sure it has to do with how I'm using the > TreePath variable or something. Do you know off-hand if one should use one > TreePath variable for this and traverse the tree or should multiple > TreePaths be used? > > Jeff -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Quality Assurance Manager Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<3828518F.FF4ED8B4@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7vq1i6$gk43@forums.borland.com> <38277F6F.7C16542E@borland.com> <809bv0$mcr7@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,5f23da974d24865c X-Google-Attributes: gid111d45,public From: Rich Wilkman <rwilkman@inprise.com> Subject: Re: Immediately expanding tree nodes Date: 1999/11/09 Message-ID: <3828518F.FF4ED8B4@inprise.com> X-Deja-AN: 546503693 Content-Transfer-Encoding: 7bit References: <7vq1i6$gk43@forums.borland.com> <38277F6F.7C16542E@borland.com> <809bv0$mcr7@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing