🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JTree expansion

#16102
From: Leo Cohen
Date: Wed, 24 Mar 1999 00:00
19 lines
1100 bytes
I want a JTree to appear with all of its entries expanded. The way I've
been doing it is to get the row count by counting each row that is
delivered for display by the data model; then, working from the bottom
row up, I use expandRow() on each row.

This seems like a clumsy way of doing it. Isn't there a property or
method associated with JTree that I can set that makes JTree expand each
row as it puts it on the screen?
-- 
Leo Cohen

116-1 Howard Drive
Charlottesville, VA  22903

804-243-8922 (UVA)
804-244-4648 (home)
804-244-7922 (home fax)
815-550-9313 (office fax)
lcohen@cs.virginia.edu
Technical Details
Message-ID: <36F9137B.1C6CF565@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,cd62a99c36593be,start
X-Google-Attributes: gidf74b3,public
From: Leo Cohen <lcohen@cs.virginia.edu>
Subject: JTree expansion
Date: 1999/03/24
Message-ID: <36F9137B.1C6CF565@cs.virginia.edu>
X-Deja-AN: 458430975
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