🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Showing an expanded JTree

#16601
From: Leo Cohen
Date: Fri, 29 Jan 1999 00:00
23 lines
997 bytes
I want a JTree to be fully expanded when it is first displayed. So far,
the best I can figure out is 
	getRowCount()
	for( . each row . )
		expandRow()

starting with the last one & expanding backwards. 

A- this seems clumsy
B- it does not expand the width of the frame

Isn't there a property for a JTree that shows it fully expanded?

-- 
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: <36B21F71.5672426@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,7389fa5a47385b0a,start
X-Google-Attributes: gidf74b3,public
From: Leo Cohen <lcohen@cs.virginia.edu>
Subject: Showing an expanded JTree
Date: 1999/01/29
Message-ID: <36B21F71.5672426@cs.virginia.edu>
X-Deja-AN: 438468947
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