Article View: borland.public.jbuilder.java.swing
Article #12934DefaultMutableTreeNode.setUserObject - newbie question
From: Carla Kessler
Date: Thu, 22 Oct 1998 00:00
Date: Thu, 22 Oct 1998 00:00
10 lines
850 bytes
850 bytes
I am trying to do the simplest thing with tragic results...I have a JTree and I want to change the root node's text string. When I do so, using setUserObject, all of the children disappear. Can anyone tell me what I am doing wrong? I would like to be able to alter the text for the node without destroying the children. Thanks in advance for any help. Carla
Technical Details
Message-ID:
<70on40$nb36@forums.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,4fc29c7e6f0e774c,start X-Google-Attributes: gid111d45,public From: "Carla Kessler" <carner@tscnet.com> Subject: DefaultMutableTreeNode.setUserObject - newbie question Date: 1998/10/22 Message-ID: <70on40$nb36@forums.borland.com> X-Deja-AN: 404126346 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Newsgroups: borland.public.jbuilder.java.swing