🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: icon - how to you replace the steaming coffee icon with your own

#15566
From: Holger Wagner
Date: Wed, 09 Jun 1999 00:00
14 lines
1009 bytes
ron kozak wrote:
> 
> How do you override the steaming coffe icon in the top left corner with
> your own icon?

Frame has a method called
void setIconImage(Image image)

that's the way to do it (you can look it up in the API)...
You can easily get an Image from an ImageIcon (swing classes, I guess)
(I think the method is getImage() but I'm not positive on this)

later,
Holger
Technical Details
Message-ID: <375ED040.85495A09@lrz-muenchen.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <375719AA.1440@golden.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,afcecc282231eb45
X-Google-Attributes: gidf74b3,public
From: Holger Wagner <Holger.Wagner@lrz-muenchen.de>
Subject: Re: icon - how to you replace the steaming coffee icon with your own
Date: 1999/06/09
Message-ID: <375ED040.85495A09@lrz-muenchen.de>
X-Deja-AN: 487637708
Distribution: world
Content-Transfer-Encoding: 7bit
References: <375719AA.1440@golden.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Purple Sunshine Productions
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language