Re: A simple ListCellRenderer
From: John McGrath (ng_at_jpmcgrath.net)
Date: 03/10/05
- Next message: John McGrath: "Re: How to retrieve the position of a given JPopupMenu"
- Previous message: shevek: "FindWindow"
- In reply to: Cameron McCormack: "Re: A simple ListCellRenderer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: John McGrath: "Re: How to retrieve the position of a given JPopupMenu"
- Previous message: shevek: "FindWindow"
- In reply to: Cameron McCormack: "Re: A simple ListCellRenderer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|