[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Patch: DefaultTableCellRenderer fix
From: |
Lillian Angel |
Subject: |
Re: [cp-patches] Patch: DefaultTableCellRenderer fix |
Date: |
Thu, 03 Nov 2005 15:26:54 -0500 |
Further testing some apps, I overlooked something really trivial. I have
changed this patch completely. The problem was not the border, but the
background color of the actual cell renderer (label) maybe set
differently than that of the table. I fixed this.
2005-11-03 Lillian Angel <address@hidden>
* javax/swing/table/DefaultTableCellRenderer.java
(getTableCellRendererComponent): Fixed so that the label is
painted with the correct background color. Does not depend on
type of border. Removed this code.
On Thu, 2005-11-03 at 14:38 -0500, Lillian Angel wrote:
> If another class overrides getTableCellRendererComponent and sets the
> border to be an empty border, the cell should be painted as if it
> doesn't have focus at all times
>
> 2005-11-03 Lillian Angel <address@hidden>
>
> * javax/swing/table/DefaultTableCellRenderer.java
> (getTableCellRendererComponent): Should only draw focus if the
> border is not an empty border.
>
> _______________________________________________
> Classpath-patches mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/classpath-patches
patch.diff
Description: Text Data