🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JFrame icon

#8840
From: Alan McDonald
Date: Tue, 18 Jul 2000 00:00
17 lines
983 bytes
Did you solve this one?
And also, can you see why this doesn't work

frame.setIconImage(Toolkit.getDefaultToolkit().createImage("packagename/myic
on.gif"));

it just comes up black - do you have to scale it or what?

Alan McDonald

<Philippe Beauregard philb> wrote in message news:394fb6f9@dnews...
>
> Why does the transparent color in the icon in a JFrame title
> bar act as black instead of the title bar's color?
>
> Is there a work around for this?
>
Technical Details
Message-ID: <8l0grn$gbr8@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <394fb6f9@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,9357086569d23a31
X-Google-Attributes: gid111d45,public
From: "Alan McDonald" <alan@meta.com.au>
Subject: Re: JFrame icon
Date: 2000/07/18
Message-ID: <8l0grn$gbr8@bornews.borland.com>
X-Deja-AN: 647600333
References: <394fb6f9@dnews>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing