Hi,
I committed this patch to mainline.
Tom
2005-05-25 Thomas Fitzsimmons <[EMAIL PROTECTED]>
* java/awt/Component.java (enableInputMethods): Implement.
Index: java/awt/Component.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/Component.java,v
retrieving revision 1.49
diff -u -u -r1.49 Component.java
--- java/awt/Component.java 6 May 2005 23:06:14 -0000 1.49
+++ java/awt/Component.java 25 May 2005 22:09:40 -0000
@@ -858,8 +858,10 @@
*/
public void enableInputMethods(boolean enable)
{
- // XXX Implement.
- throw new Error("not implemented");
+ if (enable)
+ eventMask |= AWTEvent.INPUT_ENABLED_EVENT_MASK;
+ else
+ eventMask &= ~AWTEvent.INPUT_ENABLED_EVENT_MASK;
}
/**
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches