|
From: | cvs-commit at developer dot classpath dot org |
Subject: | [Bug swing/25770] JTable cell editor does not start after double clicking on the cell. |
Date: | 16 Jan 2006 17:53:56 -0000 |
------- Comment #2 from cvs-commit at developer dot classpath dot org 2006-01-16 17:53 ------- Subject: Bug 25770 CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Audrius Meskauskas <address@hidden> 06/01/16 12:36:50 Modified files: . : ChangeLog javax/swing : DefaultCellEditor.java JTable.java javax/swing/plaf/basic: BasicTableUI.java Log message: 2006-01-16 Audrius Meskauskas <address@hidden> PR 25770 * javax/swing/DefaultCellEditor.java (delegate): Assign new instance immediately. (DefaultCellEditor(JTextField textfield)): Require 2 clicks. (getTableCellEditorComponent): Rewritten. (prepareAsJTextField):New method (add listener only once). * javax/swing/JTable.java (editingCanceled): Rewritten. (editingStopped ): Rewritten. (rowAtPoint): Mind row margin. (getCellRect): Mind row margin. (getDefaultEditor): Removing JTextComponent border. (editCellAt): Rewritten. * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler): Activate editing mode by the mouse clicks. (getMaximumSize): Mind row margin. (getPreferredSize): Mind row margin. (TableAction): Added 'stop editing' command. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6075&tr2=1.6076&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/DefaultCellEditor.java.diff?tr1=1.16&tr2=1.17&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/JTable.java.diff?tr1=1.64&tr2=1.65&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTableUI.java.diff?tr1=1.38&tr2=1.39&r1=text&r2=text -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25770
[Prev in Thread] | Current Thread | [Next in Thread] |