[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/27486] setValueAt() doesn't work on non-editable cells
From: |
yvan dot norsa at gmail dot com |
Subject: |
[Bug swing/27486] setValueAt() doesn't work on non-editable cells |
Date: |
8 May 2006 12:58:03 -0000 |
------- Comment #3 from yvan dot norsa at gmail dot com 2006-05-08 12:58
-------
(From update of attachment 11408)
>Index: javax/swing/JTable.java
>===================================================================
>RCS file: /cvsroot/classpath/classpath/javax/swing/JTable.java,v
>retrieving revision 1.99
>diff -u -r1.99 JTable.java
>--- javax/swing/JTable.java 5 May 2006 09:41:15 -0000 1.99
>+++ javax/swing/JTable.java 8 May 2006 12:47:20 -0000
>@@ -3586,8 +3586,7 @@
> }
>
> /**
>- * Set value for the cell at the given position. If the cell is not
>- * editable, this method returns without action. The modified cell is
>+ * Set value for the cell at the given position. The modified cell is
> * repainted.
> *
> * @param value the value to set
>@@ -3596,8 +3595,6 @@
> */
> public void setValueAt(Object value, int row, int column)
> {
>- if (!isCellEditable(row, column))
>- return;
> dataModel.setValueAt(value, row, convertColumnIndexToModel(column));
>
> repaint(getCellRect(row, column, true));
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27486
- [Bug swing/27486] New: setValueAt() doesn't work on non-editable cells, yvan dot norsa at gmail dot com, 2006/05/08
- [Bug swing/27486] setValueAt() doesn't work on non-editable cells, yvan dot norsa at gmail dot com, 2006/05/08
- [Bug swing/27486] setValueAt() doesn't work on non-editable cells, yvan dot norsa at gmail dot com, 2006/05/08
- [Bug swing/27486] setValueAt() doesn't work on non-editable cells,
yvan dot norsa at gmail dot com <=
- [Bug swing/27486] setValueAt() doesn't work on non-editable cells, roman at kennke dot org, 2006/05/08
- [Bug swing/27486] setValueAt() doesn't work on non-editable cells, cvs-commit at developer dot classpath dot org, 2006/05/08
- [Bug swing/27486] setValueAt() doesn't work on non-editable cells, gnu_andrew at member dot fsf dot org, 2006/05/08
- [Bug swing/27486] setValueAt() doesn't work on non-editable cells, cvs-commit at developer dot classpath dot org, 2006/05/15