🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JCheckBoxes and two icons in a JTree

#10382
From: Alex
Date: Mon, 20 Sep 1999 00:00
22 lines
1077 bytes
Hello,

I want to show two different JTrees and I have a problem with each of them:

The fisrt one shall show two icons (and text) for some nodes. That�s already
the problem. I can set different icons depending on the node�s state
(expanded or not, ...) but I don�t know how to show two icons at the same
time.




I want my second JTree to show a JCheckBox next to the node�s icon.  I have
simply no idea how to do this .


Would you please help me and tell me how to do that or where I can find an
exmple ?


Thank you all very much,
Alex.
Technical Details
Message-ID: <7s5ms0$8o620@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,73c24ac400999e17,start
X-Google-Attributes: gid111d45,public
From: "Alex" <alexbged@linux.zrz.tu-berlin.de>
Subject: JCheckBoxes and two icons in a JTree
Date: 1999/09/20
Message-ID: <7s5ms0$8o620@forums.borland.com>
X-Deja-AN: 527484130
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing