🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Replacing the JFrame Java icon

#8084
From: Joi Ellis
Date: Sat, 21 Oct 2000 00:00
28 lines
1693 bytes
Bob Vasseur <vasseura@mscomm.com> wrote:
> This is probably a repeat question. I think that I have seen it before but
> can't remember the solution. I am able to replace the coffee cup icon, but
> it appears all black, whether I use a 16 X 16 or a 32 X 32 gif image. The
> replacement code is essentially:

> myFrame.setIconImage
> (Toolkit.getDefaultToolkit().getImage( "NewImage.gif" ))

> Do you have to use a particular transparency color, or something like that?
> All button icons are OK. Just the frame icon appears this way. I am using
> 3.5 on NT.

Check on Sun's Bug Parade.  There have been bugs on several platforms
in the handling of transparent gifs as icons.  Perhaps you are encountering
one.

Simply search for 'transparent gif', then narrow the search to support 
database and bug parade.

-- 
Joi Ellis                    Software Engineer
Aravox Technologies          joi@aravox.com, gyles19@visi.com

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
           - Chris Johnson
Technical Details
Message-ID: <8ss9ap$2iu3@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39f1a7a3$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,30af6aa8648b84de
X-Google-Attributes: gid111d45,public
From: Joi Ellis <joi@joi.aravox.com>
Subject: Re: Replacing the JFrame Java icon
Date: 2000/10/21
Message-ID: <8ss9ap$2iu3@bornews.borland.com>
X-Deja-AN: 684154179
References: <39f1a7a3$1_1@dnews>
Organization: Another Netscape Collabra Server User
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.14-5.0 (i686))
Newsgroups: borland.public.jbuilder.java.swing