🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JTree

#9174
From: Fred Frumas
Date: Tue, 09 May 2000 00:00
28 lines
1270 bytes
I know this is off topic, but since we are speaking about tree components,
does anyone know of one written for the AWT that allows multi-selection of
non-concurrent nodes.


Redding Bacon <reddingbacon@msn.com> wrote in message
news:8eernh$a7c3@bornews.borland.com...
> Hello,
>
> How can I display my file system in a JTree?  Is there an object that
> represents the file system that I could use like this:
>
>   ...
>   DefaultMutableTreeModel  top;
>   DefaultTreeModel  treeModel ;
>   JTree jTree1;
>
>   top = new DefaultMutableTreeNode( myFileSystemObject );
>   treeModel = new DefaultTreeModel(top);
>   jTree1 = new JTree(treeModel);
>   ...
>
> Thanks,
> Redding
>
>
>
>
Technical Details
Message-ID: <391840f8@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8eernh$a7c3@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,7b98b7ab0d9ea22c
X-Google-Attributes: gid111d45,public
From: "Fred Frumas" <frumas@home.com>
Subject: Re: JTree
Date: 2000/05/09
Message-ID: <391840f8@dnews>
X-Deja-AN: 621191542
References: <8eernh$a7c3@bornews.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Trace: 9 May 2000 09:46:48 -0800, 216.35.207.238
Organization: Me
X-MSMail-Priority: Normal
Reply-To: "Fred Frumas" <frumas@home.com>
Newsgroups: borland.public.jbuilder.java.swing