CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Anthony Balkissoon <[EMAIL PROTECTED]> 05/08/12 20:45:17
Modified files: . : ChangeLog javax/swing : JTable.java javax/swing/plaf/basic: BasicLookAndFeel.java BasicTableUI.java Log message: 2005-08-12 Anthony Balkissoon <[EMAIL PROTECTED]> * javax/swing/JTable.java: (setValueAt): Do nothing if isCellEditable returns false. (editCelLAt): Removed the Key Listener for the JTextField. Listening for ESCAPE should be handled by the JTable itself. Note, this is not implemented yet. * javax/swing/plaf/basic/BasicLookAndFeel.java: (initComponentDefaults): Added several keybindings to JTable's ancestorInputMap. These are all implemented. * javax/swing/plaf/basic/BasicTableUI.java: (KeyHandler): Removed this class. Note that most of the code from the keyPressed method now resides in the actionPerformed method of the BasicTableUI.TableAction class. (convertModifiers): New private method to convert from new InputEvent modifier masks to the old style. (installKeyboardActions): Implemented. Gets the key bindings from the UIManager and registers them for the JTable. (TableAction): New class. This is where the actions corresponding to key presses resides. (installListeners): Removed installation of KeyListener. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4404&tr2=1.4405&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JTable.java.diff?tr1=1.42&tr2=1.43&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicLookAndFeel.java.diff?tr1=1.43&tr2=1.44&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTableUI.java.diff?tr1=1.20&tr2=1.21&r1=text&r2=text