🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16479

making a icon transparent

#16479
From: Vasudevan Srinivasan
Date: Sat, 13 Feb 1999 00:00
10 lines
846 bytes
Hi,
i am trying to set an icon in JLabel as a transparent icon. the icon is
predefined taken from UIManager.getIcon("Tree.leafIcon");
the background is white and looks ugly with different background colors,

so i want it to be transparent.
How can I do it?

Thanks
Vasu
Technical Details
Message-ID: <36C5B78F.85A5A10@worldnet.att.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,58fdc6a8f13db54f,start
X-Google-Attributes: gidf74b3,public
From: Vasudevan Srinivasan <vasya10@worldnet.att.net>
Subject: making a icon transparent
Date: 1999/02/13
Message-ID: <36C5B78F.85A5A10@worldnet.att.net>
X-Deja-AN: 444015822
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: vasya10@worldnet.att.net
Newsgroups: borland.public.jbuilder.java.language