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


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

Re: No transparency in Vi

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Lela" <lela@THRWHITE.remove-dii-this>
Subject Re: No transparency in Vi
Message-ID <Xns994197CC2F360a@208.49.80.188> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <Xns9940A061E60FCa@208.49.82.28>
References <Xns9940A061E60FCa@208.49.82.28>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 33
Date Wed, 27 Apr 2011 15:35:02 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918502 96.60.20.240 (Wed, 27 Apr 2011 10:35:02 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:35:02 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1735

Show key headers only | 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