🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JInternalFrame icon

#8977
From: Philippe
Date: Tue, 20 Jun 2000 00:00
8 lines
849 bytes
If I set a color as transparent in gif file. When I use it as the icon for a JInternalFrame, it sometimes(randomly) set the color either as transparent or as black.

String imageFile = "images/my.gif";
ImageIcon EmptyIcon = new ImageIcon(getClass().getResource(imageFile));
setFrameIcon((Icon)EmptyIcon);

Is this a bug in the VM or am I doing something wrong?   
Technical Details
Message-ID: <394fb1fe@dnews>
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: 111d45,8d4271513c6dcdb2,start
X-Google-Attributes: gid111d45,public
From: "Philippe" <philb@cae.ca>
Subject: JInternalFrame icon
Date: 2000/06/20
Message-ID: <394fb1fe@dnews>
X-Deja-AN: 636890068
Sender: "Philippe" <philb@cae.ca>
X-Trace: 20 Jun 2000 11:03:42 -0800, 127.0.0.1
Reply-To: "Philippe" <philb@cae.ca>
Newsgroups: borland.public.jbuilder.java.swing
X-User-Info: 142.39.200.51 142.39.200.51