Article View: borland.public.jbuilder.java.swing
Article #9396Re: JTree Refresh with F5
From: James Cook
Date: Wed, 05 Apr 2000 00:00
Date: Wed, 05 Apr 2000 00:00
46 lines
1861 bytes
1861 bytes
You manipulate the tree's *model*, not the tree itself. When you change the model's nodes, or node structure, the appropriate events will fire. Much information about Swing at Sun's Swing Tutorial site. Check out: http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html jim Rainer <rd@ley.de> wrote in message news:8ceqm4$k3s3@bornews.borland.com... > Hi James and Programers, > > I will refresh the JTree out of a Java-code. How fire�s the model the JTree > ??? > To collaps and expand all nodes i have found a funkction. > > Thanks for Help > > Rainer > > > "James Cook" <jimcook@visualxs.com> wrote in message > news:8ce2f6$bcf13@bornews.borland.com... > > Why isn't the JTree refreshing properly? As you manipulate the tree's > model, > > it should fire events to the tree to repaint accordingly. > > > > jim > > > > > > Rainer <rd@ley.de> wrote in message > news:8cc692$pec6@bornews.borland.com... > > > Hi Programers, > > > > > > is there any chance to refresh a JTree with the keyboard-key >>> F5 > <<<< > > > Also I�m trying to expand and collapse all nodes. How can i do that. > > > Need some Help. > > > > > > Thanks > > > > > > Rainer, Germany > > > > > > > > > > > >
Technical Details
Message-ID:
<8cfdch$nm56@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8cc692$pec6@bornews.borland.com> <8ce2f6$bcf13@bornews.borland.com> <8ceqm4$k3s3@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,e947986ebd370a32 X-Google-Attributes: gid111d45,public From: "James Cook" <jimcook.remove.for.spam@iname.com> Subject: Re: JTree Refresh with F5 Date: 2000/04/05 Message-ID: <8cfdch$nm56@bornews.borland.com> X-Deja-AN: 607059066 References: <8cc692$pec6@bornews.borland.com> <8ce2f6$bcf13@bornews.borland.com> <8ceqm4$k3s3@bornews.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing