🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Updating a Node in a JTree

#1570
From: Laurent Souriau
Date: Thu, 06 Dec 2001 09:56
27 lines
1949 bytes
        Hi,


I have a very specific problem with JTrees.

I want to  add a node who has only one father in my JTree.

Let s say TOTO (father ) -> TUTU (child)

but this father is at different places in the Tree.
When i add TUTU to TOTO, it is added at only one place of my
JTree. It is never added to the other TOTO in the tree.

I am using

nodeChanged(TUTU );

i tried also to add

nodesChanged(TOTO,indexof(TOTO);

but it doesn't work ...

        Thank you for your help

Laurent
email : lsouriau@club-internet.fr
Technical Details
Message-ID: <9unf78$u3c$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsgate.cistron.nl!fr.clara.net!heighliner.fr.clara.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,d56134f219bdd00d,start
X-Google-Attributes: gid10a146,public
X-Google-Thread: 113ae9,d56134f219bdd00d,start
X-Google-Attributes: gid113ae9,public
X-Google-Thread: 1089d0,d56134f219bdd00d,start
X-Google-Attributes: gid1089d0,public
X-Google-Thread: f74b3,d56134f219bdd00d,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-12-06 01:55:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsgate.cistron.nl!fr.clara.net!heighliner.fr.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail
From: "Laurent Souriau" <lsouriau@club-internet.fr>
Newsgroups: borland.public.jbuilder.java.api,borland.public.jbuilder.java.language,comp.lang.java.help,comp.lang.java.programmer
Subject: Updating a Node in a JTree
Date: Thu, 6 Dec 2001 10:56:34 +0100
Organization: Guest of France Telecom Oleane's newsreading service
Lines: 29
Message-ID: <9unf78$u3c$1@s1.read.news.oleane.net>
NNTP-Posting-Host: aqsacom.rain.fr
X-Trace: s1.read.news.oleane.net 1007632425 30828 195.6.24.78 (6 Dec 2001 09:53:45 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Thu, 6 Dec 2001 09:53:45 +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