🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JTree

#8834
From: John P. McGrath
Date: Mon, 17 Jul 2000 00:00
14 lines
814 bytes
On Fri, 14 Jul 2000 15:16:25 +0100, John G McTeague wrote:

> How can I have a JTree so that the roots children are automaticaly
> visible when the program starts. Whenever I use a JTree, I have to
> expand the root  once the program has started. I would like the children
> to be visible straight away.

Try:
    myTree.expandRow( 0 );

-- 
Regards,

John McGrath
Technical Details
Message-ID: <MPG.13d9d9c3b07d8590989a40@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <396F20B9.922358DD@ntlworld.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,25b6f592d758dfc0
X-Google-Attributes: gid111d45,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: JTree
Date: 2000/07/17
Message-ID: <MPG.13d9d9c3b07d8590989a40@forums.borland.com>
X-Deja-AN: 647555445
References: <396F20B9.922358DD@ntlworld.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing