🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Deleting node from JTree

#9111
From: Jack Cook
Date: Thu, 25 May 2000 00:00
11 lines
772 bytes
All,

I am trying to delete a node from JTree using the DefaultMutabableTreeNode
removeFromParent method. Whenever I remove the node it still remains in the
display of the tree. I am doing a  revalidate() and repaint() but nothing
seems to
work. What am I doing wrong?

Thanks,

Jack
Technical Details
Message-ID: <392d534f@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c207b5509b57b5e5,start
X-Google-Attributes: gid111d45,public
From: "Jack Cook" <jcook@shellus.com>
Subject: Deleting node from JTree
Date: 2000/05/25
Message-ID: <392d534f@dnews>
X-Deja-AN: 627219941
X-Trace: 25 May 2000 09:22:39 -0800, 134.163.253.248
Organization: Shell Services International
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700