🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1785

JTREE REFRESH PROBLEMS

#1785
From: Laurent Souriau
Date: Thu, 06 Sep 2001 16:07
23 lines
2023 bytes
            Hi,


I am desperately trying to refresh a JTree object, I am using the

nodeChanged(node) method from DefalutTreeModel class, it works fine excepted
when the first
element of the JTree is created (the first son of the root). For other
sons it works fine, the tree is refreshed.

I tryed reload(node) it doesn't work either.

Maybe i should use the fireTreeNodesChanged(Object source, Object[] path,
int[] childIndices, Object[] children) method, but I don't know what are the
arguments of this
method.

anyone has got a clue ?

Thank you

Laurent
E-mail : lsouriau@club-internet.fr
Technical Details
Message-ID: <9n86u1$koi$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!esplande3000.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a146,355e7e0740bd0b02,start
X-Google-Attributes: gid10a146,public
X-Google-Thread: 1089d0,355e7e0740bd0b02,start
X-Google-Attributes: gid1089d0,public
X-Google-Thread: f631b,355e7e0740bd0b02,start
X-Google-Attributes: gidf631b,public
X-Google-Thread: 113ae9,355e7e0740bd0b02,start
X-Google-Attributes: gid113ae9,public
X-Google-ArrivalTime: 2001-09-06 09:10:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!esplande3000.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail
From: "Laurent Souriau" <lsouriau@club-internet.fr>
Newsgroups: borland.public.jbuilder.java.api,comp.lang.java.help,comp.lang.java.programmer,fr.comp.lang.java
Subject: JTREE REFRESH PROBLEMS
Date: Thu, 6 Sep 2001 18:07:48 +0200
Organization: Guest of France Telecom Oleane's newsreading service
Lines: 26
Message-ID: <9n86u1$koi$1@s1.read.news.oleane.net>
NNTP-Posting-Host: aqsacom.rain.fr
X-Trace: s1.read.news.oleane.net 999792385 21266 195.6.24.78 (6 Sep 2001 16:06:25 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Thu, 6 Sep 2001 16:06:25 +0000 (UTC)
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