Re: [cp-patches] RFC: BasicTabbedPaneUI paint null Icon?

2005-11-25 Thread Mark Wielaard
Hi, On Tue, 2005-11-22 at 01:03 +0100, Mark Wielaard wrote: This one is a little strange. Apparently the plastic laf overrides getIconForTab(int) and returns null in certain cases. But then it still calls paintIcon on it. I cannot find too much documentation on this, but this seems the

Re: [cp-patches] RFC: BasicTabbedPaneUI paint null Icon?

2005-11-25 Thread Roman Kennke
Am Freitag, den 25.11.2005, 14:58 +0100 schrieb Mark Wielaard: Hi, On Tue, 2005-11-22 at 01:03 +0100, Mark Wielaard wrote: This one is a little strange. Apparently the plastic laf overrides getIconForTab(int) and returns null in certain cases. But then it still calls paintIcon on it. I

[cp-patches] RFC: BasicTabbedPaneUI paint null Icon?

2005-11-21 Thread Mark Wielaard
Hi, This one is a little strange. Apparently the plastic laf overrides getIconForTab(int) and returns null in certain cases. But then it still calls paintIcon on it. I cannot find too much documentation on this, but this seems the correct thing to do: 2005-11-21 Mark Wielaard [EMAIL PROTECTED]