🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7570

JTree: updating the data

#7570
From: MarkW
Date: Fri, 08 Jun 2001 12:28
11 lines
1423 bytes
Hi people,
i�m using a descendant of JTree to display customer-info. Works fine except
when I try to update the data. I tried just setting the model of the tree
with a new treemodel and also as another attempt using
root.removeAllChildren() and then appending the new nodes.
As a result I just get the "empty" nodes without a title. When I doubleclick
on the nodes the title is then shown. I�ve tried repainting, updating the
tree, the panel on which the tree resides but without success!

Anybody got an idea how to do this??
Mark
Technical Details
Message-ID: <3b20c4b1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!news-in-austin.nuthinbutnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,f502df7c4b0a5f8a,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-08 05:29:29 PST
From: "MarkW" <xx@yy.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: JTree: updating the data
Date: Fri, 8 Jun 2001 14:28:05 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 149.225.133.77
Message-ID: <3b20c4b1_1@dnews>
X-Trace: dnews 992003249 149.225.133.77 (8 Jun 2001 05:27:29 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!news-in-austin.nuthinbutnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews