Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1735

Re: No transparency in Vi

From "Lela" <lela@THRWHITE.remove-dii-this>
Subject Re: No transparency in Vi
Message-ID <Xns994197CC2F360a@208.49.80.188> (permalink)
Newsgroups comp.lang.java.gui
References <Xns9940A061E60FCa@208.49.82.28>
Date 2011-04-27 15:35 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Lela <LelaM@...> wrote in news:Xns9940A061E60FCa@208.49.82.28:

> 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
> 

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

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | Next | Find similar | Unroll thread


Thread

Re: No transparency in Vi "Lela" <lela@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000

csiph-web