Article View: borland.public.jbuilder.java.swing
Article #9228JTree
From: Redding Bacon
Date: Sat, 29 Apr 2000 00:00
Date: Sat, 29 Apr 2000 00:00
17 lines
872 bytes
872 bytes
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:
<8eernh$a7c3@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,7b98b7ab0d9ea22c,start X-Google-Attributes: gid111d45,public From: "Redding Bacon" <reddingbacon@msn.com> Subject: JTree Date: 2000/04/29 Message-ID: <8eernh$a7c3@bornews.borland.com> X-Deja-AN: 617188920 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing