🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Ho do you refresh a JTree

#16573
From: Paul Furbacher
Date: Wed, 27 Jan 1999 00:00
12 lines
864 bytes
Jonathan wrote:
> 
> can someone tell me how to refresh a JTree and make the node which was
> visible before refresh, visible after refresh

Not sure what "visible before and after refresh" means, 
but did you try

  myTree.revalidate();


Paul Furbacher
Technical Details
Message-ID: <36AFD445.8EA15EF8@bilbo.bio.purdue.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <78nbql$1sn16@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,ade75cdd3dcd1c55
X-Google-Attributes: gidf74b3,public
From: Paul Furbacher <pf@bilbo.bio.purdue.edu>
Subject: Re: Ho do you refresh a JTree
Date: 1999/01/27
Message-ID: <36AFD445.8EA15EF8@bilbo.bio.purdue.edu>
X-Deja-AN: 437784334
Content-Transfer-Encoding: 7bit
References: <78nbql$1sn16@forums.borland.com>
To: Jonathan <plaskowj@logica.com>
Content-Type: text/plain; charset=us-ascii
Organization: @Home Network
Mime-Version: 1.0
Reply-To: pf@bilbo.bio.purdue.edu
Newsgroups: borland.public.jbuilder.java.language