CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Audrius Meskauskas <[EMAIL PROTECTED]> 06/01/19 12:40:52
Modified files: . : ChangeLog examples/gnu/classpath/examples/swing: Demo.java javax/swing : DefaultCellEditor.java JTable.java javax/swing/plaf/basic: BasicTableUI.java Added files: examples/gnu/classpath/examples/swing: TableDemo.java Log message: 2006-01-19 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/JTable.java (editingStopped, editingCancelled): Repaint the edited cell. (setValueAt): Do not add the value object to this container. (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed. (editingStopped): Use editingRow, editingColumn and not rowBeingEdited, columnBeingEdited. (editValueAt): rewritten. (doLayout): Move the editor component, if present, into the new location and call repaint(). (moveToCellBeingEdited): new method. (TableTextField): new inner class. (getDefaultEditor): Instantiante TableTextField, not JTextField. (setValueAt): Repaint the changed segment. (createDefaultEditors): Implemented. (BooleanCellRenderer): Center the checkbox and use the default foreground and background colors. * javax/swing/plaf/basic/BasicTableUI.java (paintCell): Do not paint the caret here. Do not accept unused parameters. (paint): No need to allocate rectangle for each cell. * javax/swing/DefaultCellEditor.java: Rewritten. * examples/gnu/classpath/examples/swing/Demo.java (mkTable): Use TableDemo.java table example. * examples/gnu/classpath/examples/swing/TableDemo.java: New file. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6114&tr2=1.6115&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/examples/gnu/classpath/examples/swing/Demo.java.diff?tr1=1.29&tr2=1.30&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/examples/gnu/classpath/examples/swing/TableDemo.java?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/DefaultCellEditor.java.diff?tr1=1.17&tr2=1.18&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/JTable.java.diff?tr1=1.65&tr2=1.66&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTableUI.java.diff?tr1=1.39&tr2=1.40&r1=text&r2=text