🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

SV: JTree problem

#10894
From: Johan Forsberg
Date: Wed, 04 Aug 1999 00:00
23 lines
948 bytes
Marcel van den Dungen <info@c-content.nl> skrev i
diskussionsgruppsmeddelandet:37A6D2C8.FB7346F3@c-content.nl...
[snip]

i would like to create a jtree that is something
> like
> a
> *b
> *b
> a
> *b
> *b
> a
> a
>
> with several 'roots'

Use tree.setRootVisible(false).

This will hide the root node. The descendants of the root node will now look
like
multiple root nodes (though they really aren't).
Technical Details
Message-ID: <7o8ts6$o625@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37A6D2C8.FB7346F3@c-content.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,9677e9fb2ec15fb8
X-Google-Attributes: gid111d45,public
From: "Johan Forsberg" <jfo@stmf.se>
Subject: SV: JTree problem
Date: 1999/08/04
Message-ID: <7o8ts6$o625@forums.borland.com>
X-Deja-AN: 508699647
References: <37A6D2C8.FB7346F3@c-content.nl>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing