[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] FYI: JTable rendering fix
From: |
Anthony Balkissoon |
Subject: |
Re: [cp-patches] FYI: JTable rendering fix |
Date: |
Mon, 17 Oct 2005 15:41:48 -0400 |
This patch breaks JTables where cell selection is allowed. Attached to
this email is a test case, running it on the JDK shows that selecting
cells is allowed, and running it on ours selects only entire rows.
Reverting the patch solves this problem, so something is either wrong in
this patch or wrong elsewhere and needs to be fixed along with this
patch.
--Tony
On Mon, 2005-10-17 at 15:18 +0000, Roman Kennke wrote:
> This fixes painting of selected cells/rows.
>
> 2005-10-17 Roman Kennke <address@hidden>
>
> * javax/swing/DefaultTableCellRenderer.java
> (getTableCellRendererComponent): Setup colors (more) correctly.
> * javax/swing/DefaultListSelectionModel.java
> (isSelectedIndex): Check for an illegal index argument.
>
>
> /Roman
> _______________________________________________
> Classpath-patches mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/classpath-patches
TestCase.java
Description: Text Data