In JDK1.1, this is fixed. You have to use a GIF file (not ICO file!). The GIF dimension should be 16x16.
You set the icon (probably in the Frame constructor) with :
setIconImage(Toolkit.getDefaultToolkit().getImage("myIcon.gif"));
setIconImage
(Toolkit.getDefaultToolkit()
.getImage(getClass().
getResource("images/myIcon.gif")));
Written and compiled by Réal Gagnon ©1998-2005
[ home ]