Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / May 2007

Tip: Looking for answers? Try searching our database.

No transparency in Vista JFrame icon

Thread view: 
Lela - 30 May 2007 23:45 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.