Article View: borland.public.jbuilder.java.swing
Article #11297Re: JTree will multiple roots?
From: Michael Härtig
Date: Thu, 17 Jun 1999 00:00
Date: Thu, 17 Jun 1999 00:00
27 lines
1347 bytes
1347 bytes
Hi,
Don't show the root with:
tree.setRootVisible(false);
and show the Handles of the first level with:
tree.setShowsRootHandles(true);
Hope this helps....
Michael
--
////
(o o)
+-----ooO--(_)--Ooo---------------------------------------+
| |
| Michael H�rtig Neumann & Partner |
| Informationssysteme GmbH |
| Softwareentwicklung An der Hohen Stra�e 1 |
| 08393 Meerane |
| |
+------------Oooo-----------------------------------------+
oooO ( )
( ) (_)
(_)
Technical Details
Message-ID:
<376894E4.12F1DBE4@nupis.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7k8c24$moa10@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,bacd7677d25fc30a X-Google-Attributes: gid111d45,public From: Michael Härtig <haertig@nupis.de> Subject: Re: JTree will multiple roots? Date: 1999/06/17 Message-ID: <376894E4.12F1DBE4@nupis.de> X-Deja-AN: 490560995 Content-Transfer-Encoding: 8bit References: <7k8c24$moa10@forums.borland.com> X-Accept-Language: de Content-Type: text/plain; charset=iso-8859-1 Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing