πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help on JTree

#13235
From: Simon Andersson
Date: Mon, 24 Aug 1998 00:00
19 lines
911 bytes
Hi.

Have a look at the BasicTreeCellRenderer.java for an example on how to do
that.

/ Simon

Michael RοΏ½ther wrote in message <6rreb2$d5b7@forums.borland.com>...
>Hi.
>
>I want a JTree to display different icons for different Nodes. The icons
>should have a open and a closed pic. I know, that i had to write my own
>TreeCellRenderer, but how?
>
>If someone out there how can help me.
>
>thanks allot Michael
>
>
Technical Details
Message-ID: <6rrlbp$e8a2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6rreb2$d5b7@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,8a28c31fb6d83cf9
X-Google-Attributes: gid111d45,public
From: "Simon Andersson" <simon@acacia.se>
Subject: Re: Help on JTree
Date: 1998/08/24
Message-ID: <6rrlbp$e8a2@forums.borland.com>
X-Deja-AN: 384160583
References: <6rreb2$d5b7@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing