Re: A simple ListCellRenderer

From: John McGrath (ng_at_jpmcgrath.net)
Date: 03/10/05


Date: Thu, 10 Mar 2005 14:14:23 GMT

On 3/10/2005 at 2:57:01 AM, Cameron McCormack wrote:

> After some more experimentation, I found that using a .png instead of a
> .gif causes the problem not to occur. Maybe there is some problem in my
> environment with gifs (JDK 1.4.2_04-b05, Linux)? Or maybe it is
> something with this particular gif.

That is interesting. I have seen problems displaying certain types of
images (for example, 4-bit deep PNG files), but it was consistent in how
it displayed the image. I suspect this must have something to do with the
alpha values in the image. When displayed against a white background, it
works, but against the selection color, it does not.

-- 
Regards,
John McGrath


Relevant Pages