On Mon, 2006-05-08 at 15:25 +0200, Roman Kennke wrote:
> Committed as follows:
> 
> 2006-05-08  Roman Kennke <[EMAIL PROTECTED]>
> 
>       PR 27486
>       * javax/swing/JTable.java
>       (setValueAt): Allow setting values even when table is editable.
> 
> 
> /Roman
> 
> Am Montag, den 08.05.2006, 12:58 +0000 schrieb yvan dot norsa at gmail
> dot com:
> > 
> > ------- 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));
> > 
> > 

Committed to the release branch.
-- 
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

If you use Microsoft Office, support movement towards the end of vendor
lock-in:
http://opendocumentfellowship.org/petition/

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to