[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: DefaultTableCellRenderer fix
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: DefaultTableCellRenderer fix |
Date: |
Fri, 04 Nov 2005 15:12:36 +0000 |
Hi,
Here comes another fix for the table cell renderer. I hope that this is
the correct thing to do. So much fun with underspecified APIs :-/.
Thanks go to lillian who has been incredibly patient to discuss this
with me on IRC, as well as testing.
2005-11-04 Roman Kennke <address@hidden>
* javax/swing/table/DefaultTableCellRenderer.java
(updateUI): Set the background and foreground color fields to null
here so that installing the LabelUI does not interfere with our
custom set colors.
(getTableCellRendererComponent): Only set UI focus colors when
cell is actually editable. Added optimization for the case
when background is equal to table background.
/Roman
DefaultTableCellRenderer.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: DefaultTableCellRenderer fix,
Roman Kennke <=