Article View: borland.public.jbuilder.java.swing
Article #12525Re: Adding nodes to a JTree
From: Mark Sawers
Date: Thu, 17 Dec 1998 00:00
Date: Thu, 17 Dec 1998 00:00
6 lines
756 bytes
756 bytes
>Using JTree, I can succesfully initialize a tree using the default tree >model and DefaultMutableTreeNode. After the initialized tree is on the >screen, how do I add a new node to the tree? DefaultTreeModel.insertNodeInto(child, parent, newIndex)
Technical Details
Message-ID:
<75beel$t3o20@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3677EFE9.F585563F@cs.virginia.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,8275605b90fd1c2b X-Google-Attributes: gid111d45,public From: "Mark Sawers" <mark.sawers@gartner.com> Subject: Re: Adding nodes to a JTree Date: 1998/12/17 Message-ID: <75beel$t3o20@forums.borland.com> X-Deja-AN: 423308109 References: <3677EFE9.F585563F@cs.virginia.edu> X-MIMEOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing