Frame and JFrame's SetIconImage() does not respect transparency in Vista
when using a JVM prior to 1.6.
Any ideas on possible alternatives (other than drawing the entire frame
myself)?
BTW, I can't upgrade to 1.6 because:
The application has already been downloaded to many customers using an
older (pre-1.5) JVM.
Many versions of the program are still burned on CDs on store shelves.
We use an autoupdater that doesn't support replacing the JVM.
-Lela
Andrew Thompson - 31 May 2007 04:29 GMT
>Frame and JFrame's SetIconImage() does not respect transparency in Vista
>when using a JVM prior to 1.6.
Doesn't it? What about XP running 1.5?
(Is it Java, or Windows?)
>Any ideas on possible alternatives (other than drawing the entire frame
>myself)?
PNG with transparency?

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Lela - 31 May 2007 22:54 GMT
> Frame and JFrame's SetIconImage() does not respect transparency in Vista
> when using a JVM prior to 1.6.
[quoted text clipped - 9 lines]
>
> -Lela
Thanks for replying.
The icon transparency works fine on XP using 1.4.2.x, 1.5, and 1.6.
I am using a PNG file. I tried using a GIF and even building the image
using the ImageIO library (as opposed to the usual ImageIcon.getImage()
method I previously used), but nothing seems to help.
-Lela