🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Tree model question

#11966
From: Vasudevan Srinivasan
Date: Mon, 22 Mar 1999 00:00
16 lines
1073 bytes
Hi,
Why dont you use another instance of the same model for tree B?

Vasu

Leo Cohen wrote:

> I have two JTrees, A and B. They both use the same data model. When A
> comes up it displays a limited number of levels, x. When B comes up it
> displays more levels than A. However, the first x levels of B are the
> same as A.
>
> The problem is, when I put B on the screen JTree regenerates A with the
> same number of levels as B.
>
> The question is, how do I put B on the screen without regenerating A?
Technical Details
Message-ID: <36F65300.300CECC8@netrisk.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36F5756B.2A0CE1D6@cs.virginia.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5fd079ebe2f90602
X-Google-Attributes: gid111d45,public
From: Vasudevan Srinivasan <vasudevan@netrisk.com>
Subject: Re: Tree model question
Date: 1999/03/22
Message-ID: <36F65300.300CECC8@netrisk.com>
X-Deja-AN: 457567015
Content-Transfer-Encoding: 7bit
References: <36F5756B.2A0CE1D6@cs.virginia.edu>
To: Leo Cohen <lcohen@cs.virginia.edu>
Content-Type: text/plain; charset=us-ascii
Organization: NetRisk Inc
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing