After committing a mauve test for all the focusInputMaps I committed
today, I noticed one field was wrong. this is now fixed.
2005-12-21 Lillian Angel <[EMAIL PROTECTED]>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Fixed key binding for
TextField.focusInputMap.
Index: javax/swing/plaf/basic/BasicLookAndFeel.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,v
retrieving revision 1.74
diff -u -r1.74 BasicLookAndFeel.java
--- javax/swing/plaf/basic/BasicLookAndFeel.java 21 Dec 2005 21:04:56 -0000 1.74
+++ javax/swing/plaf/basic/BasicLookAndFeel.java 21 Dec 2005 22:16:45 -0000
@@ -1162,7 +1162,7 @@
"TextField.light", new ColorUIResource(highLight),
"TextField.highlight", new ColorUIResource(light),
"TextField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] {
- KeyStroke.getKeyStroke("ENTER"), "notify-field-accept",
+ KeyStroke.getKeyStroke("ENTER"), "insert-break",
KeyStroke.getKeyStroke("LEFT"), "caret-backward",
KeyStroke.getKeyStroke("RIGHT"), "caret-forward",
KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous",
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches