🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to set the '+' sign in a JTree

#13230
From: Vladimir Olenin
Date: Sat, 22 Aug 1998 00:00
44 lines
1825 bytes
This is a multi-part message in MIME format.
--------------1A6B49042F2FE695AFFE27FA
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit

Hi, Simon,

It depends on look-and-feel mode. In windows look, u'll have + & -.
Circles are the icons used in Metal look-and-feel.


Simon Andersson wrote:
> 
> Hi. I wonder how to set the 'icon' to be displayed to the left of nodes that
> can have children. I would like the '+' and '-' signs instead of the default
> circles.
> 
> Is it so that it is the same icon as the one I can set with the setOpenIcon
> in the BasicTreeCellRenderer, and that some coordinates defines if i clicked
> on the circle (or '+') or the folder icon?
> 
> TIA / Simon
--------------1A6B49042F2FE695AFFE27FA
Content-Type: text/x-vcard; charset=koi8-r;
 name="acidsteve.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vladimir Olenin
Content-Disposition: attachment;
 filename="acidsteve.vcf"

begin:vcard
n:Olenin;Vladimir
x-mozilla-html:FALSE
org:
adr:
version:2.1
email;internet:acidsteve@hempseed.com
title:Card
note:Java programmer. Open for projects development offers.
fn:Vladimir Olenin
end:vcard


--------------1A6B49042F2FE695AFFE27FA--
Technical Details
Message-ID: <35DDF88D.4DDB1848@hempseed.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6rju18$40a10@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b5141442c56d5237
X-Google-Attributes: gid111d45,public
From: Vladimir Olenin <acidsteve@hempseed.com>
Subject: Re: How to set the '+' sign in a JTree
Date: 1998/08/22
Message-ID: <35DDF88D.4DDB1848@hempseed.com>
X-Deja-AN: 383488503
References: <6rju18$40a10@forums.borland.com>
X-Accept-Language: ru
Content-Type: multipart/mixed; boundary="------------1A6B49042F2FE695AFFE27FA"
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing