🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Notifying JTree

#16810
From: Leo Cohen
Date: Wed, 13 Jan 1999 00:00
20 lines
981 bytes
I am using a JTree with a custom TreeModel & TreeModelListener. When
TreeModel does fireTreeStructureEvent() it invokes the
treeStructureChanged() method in TreeModelListener.

At this point I want to have treeStructureChanged() cause my JTree to
repaint the tree on the screen. How do I do that?

Does JTree.treeDidChange() do it?


-- 
Leo Cohen

116-1 Howard Drive
Charlottesville, VA  22903

804-243-8922 (UVA)
804-244-4648 (home)
804-244-7922 (fax)
lcohen@cs.virginia.edu
Technical Details
Message-ID: <369D0C99.4279644B@cs.virginia.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,69bac1d4b7b4cb95,start
X-Google-Attributes: gidf74b3,public
From: Leo Cohen <lcohen@cs.virginia.edu>
Subject: Notifying JTree
Date: 1999/01/13
Message-ID: <369D0C99.4279644B@cs.virginia.edu>
X-Deja-AN: 432272860
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language