[3885] in java-interest
Re: setIconImage
daemon@ATHENA.MIT.EDU (Gary Aitken)
Thu Nov 30 19:28:54 1995
Date: Thu, 30 Nov 1995 13:57:56 -0700
From: garya@village.org (Gary Aitken)
To: dan latham <dan@futuretense.com>, java-interest@java.sun.com
In-Reply-To: <199511281147.GAA27454@zork.tiac.net>
>Has anyone sucessfully used setIconImage() with the Beta under Win95/WinNT?
>Looking at code in the appletviewer, I've tried to do something similar.
>From within the Frame I'm doing:
>
> img = getImage(new URL(panel.getDocumentBase(), "icon.gif"));
> setIconImage(img);
>
>The getImage routine does the same thing as the appletviewer's getImage. The
>image retrieved is non-null, but doing the setIconImage results in no
>visible change. Is there a bug here? Or am I just not doing something right?
I had the same problem. I verified that the images are ok, and would display
in other circumstances normally, but I could not get them to work as window
frame icons.
Gary Aitken garya@village.org
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com