🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: changing a frame's Icon

#16572
From: Jason Burton
Date: Wed, 27 Jan 1999 00:00
13 lines
822 bytes
>
>I would like to change the Icon on the corner of a JFrame.  So, instead
>of having the 100% Java Icon, I would like to use my own.  The only
>problem is I can't seem to find how.  Can anyone please enlighten me?
>
>-M



myFrame.setIconImage(Toolkit.getDefaultToolkit().getImage(myFileName));


Jason
Technical Details
Message-ID: <78oesu$2su13@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36A58C16.7F254A2C@cruzio.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,e37e21f73f1fc191
X-Google-Attributes: gidf74b3,public
From: "Jason Burton" <Jason.Burton@McLeodSoftware.com>
Subject: Re: changing a frame's Icon
Date: 1999/01/27
Message-ID: <78oesu$2su13@forums.borland.com>
X-Deja-AN: 437765600
References: <36A58C16.7F254A2C@cruzio.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language