🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Image in JTree

#12582
From: Steve Waters
Date: Thu, 10 Dec 1998 00:00
18 lines
1189 bytes
not sure what you mean here, if you want an image to fill the pane and have the
jtre on top of it, if so take a look at java2d, and the jtree code to see how to
merge them to do this.

Secondly if you want an image to appear for a jtree item, you have to create you
own renderer.

Steve

John Jones wrote:

> I am working on a menu bar for my web site using a scrollingpane and tree. I
> have mostly got it working burt need to add an image behind the tree
> items-----IS THIS POSSIBLE???--- And if anyone could point me in the
> direction of a example or code it would really help....
> Thanks In Advance
>
> John Jones
Technical Details
Message-ID: <366F6224.42B9885C@bellsouth.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <74mq6k$c9f20@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,8f34639d8e0058bf
X-Google-Attributes: gid111d45,public
From: Steve Waters <steve_w@bellsouth.net>
Subject: Re: Image in JTree
Date: 1998/12/10
Message-ID: <366F6224.42B9885C@bellsouth.net>
X-Deja-AN: 420708809
Content-Transfer-Encoding: 7bit
References: <74mq6k$c9f20@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing