🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Showing the expansion sign on a Jtree

#11200
From: Michael Sashnikov
Date: Sat, 26 Jun 1999 00:00
21 lines
1041 bytes
Hi,

You need develop your own TreeModel that will returns false from the isLeaf
method for all nodes.

Regards,
________________________________________

Michael Sashnikov
Architect of 2LKit for VJ++

mail: michael@jstyle.spb.ru
http://www.jstyle.spb.ru


Jonathan <plaskowj@logica.com> wrote in message
news:7kspe0$c3l9@forums.borland.com...
>I want to show the expansion sign '+' on a JTree even when a node doesn't
>have any children - how do I do this?
>
>
Technical Details
Message-ID: <7l1ckd$gbj8@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7kspe0$c3l9@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,46aed9dbb2816c6f
X-Google-Attributes: gid111d45,public
From: "Michael Sashnikov" <michael@jstyle.spb.ru>
Subject: Re: Showing the expansion sign on a Jtree
Date: 1999/06/26
Message-ID: <7l1ckd$gbj8@forums.borland.com>
X-Deja-AN: 493992771
References: <7kspe0$c3l9@forums.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing