There was a typo in the mauve test. This binding was not wrong to begin
with. I have reverted my last patch.

2005-12-21  Lillian Angel  <[EMAIL PROTECTED]>

        * javax/swing/plaf/basic/BasicLookAndFeel.java
        (initComponentDefaults): Typo in mauve test. Reverted last 
        patch.



On Wed, 2005-12-21 at 17:18 -0500, Lillian Angel wrote:
> 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.
> 
> _______________________________________________
> Classpath-patches mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/classpath-patches
Index: javax/swing/plaf/basic/BasicLookAndFeel.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,v
retrieving revision 1.75
diff -u -r1.75 BasicLookAndFeel.java
--- javax/swing/plaf/basic/BasicLookAndFeel.java	21 Dec 2005 22:18:02 -0000	1.75
+++ javax/swing/plaf/basic/BasicLookAndFeel.java	22 Dec 2005 14:37:10 -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"), "insert-break",
+         KeyStroke.getKeyStroke("ENTER"), "notify-field-accept",
          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

Reply via email to