🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12819

JTree update problems

#12819
From: Martin Steger
Date: Tue, 03 Nov 1998 00:00
11 lines
1144 bytes
Hi there

I've a big Problem with updating my JTree from the swing Package. I've
created my own Treemodel and with this Treemodel I've createt my JTree.
My big Problem is, to make the changes in the model visible in the
JTree. I tried a view methods from JTree, but nothing works. When a
change is made in the model, I'm fireing a Event to a AbstractTreeModel
and this one passes this to a TreeModelListener. This one try to update
the tree, but with no result. I tried to do that since two days.

Has anybody a good example, or the solution for this problem.
Technical Details
Message-ID: <363F61A0.5BDB169D@hsr.ch>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6v24o7$3kh7@forums.borland.com> <01bdedfc$b93bfde0$2dd96fc2@pc12.gordion.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,d70978371e769ca6
X-Google-Attributes: gid111d45,public
From: Martin Steger <msteger@hsr.ch>
Subject: JTree update problems
Date: 1998/11/03
Message-ID: <363F61A0.5BDB169D@hsr.ch>
X-Deja-AN: 408036582
Content-Transfer-Encoding: 7bit
References: <6v24o7$3kh7@forums.borland.com> <01bdedfc$b93bfde0$2dd96fc2@pc12.gordion.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: HSR Hochschule Rapperswil
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing