--- /home/cpdev/src/classpath/java/awt/Component.java	2005-07-06 17:33:09.000000000 +0000
+++ java/awt/Component.java	2005-06-30 05:34:24.000000000 +0000
@@ -858,10 +858,8 @@
    */
   public void enableInputMethods(boolean enable)
   {
-    if (enable)
-      eventMask |= AWTEvent.INPUT_ENABLED_EVENT_MASK;
-    else
-      eventMask &= ~AWTEvent.INPUT_ENABLED_EVENT_MASK;
+    // XXX Implement.
+    throw new Error("not implemented");
   }
 
   /**
@@ -1005,10 +1003,6 @@
    */
   public void setBackground(Color c)
   {
-    // return if the background is already set to that color.
-    if (background != null && c != null)
-      if (background.equals(c))
-	return;
     // If c is null, inherit from closest ancestor whose bg is set.
     if (c == null && parent != null)
       c = parent.getBackground();
@@ -1155,9 +1149,7 @@
   public Point getLocationOnScreen()
   {
     if (! isShowing())
-      throw new IllegalComponentStateException("component "
-                                               + getClass().getName()
-                                               + " not showing");
+      throw new IllegalComponentStateException("component not showing");
     // We know peer != null here.
     return peer.getLocationOnScreen();
   }
@@ -3502,9 +3494,9 @@
   /**
    * Sets the focus traversal keys for one of the three focus
    * traversal directions supported by Components:
-   * {@link KeyboardFocusManager#FORWARD_TRAVERSAL_KEYS},
-   * {@link KeyboardFocusManager#BACKWARD_TRAVERSAL_KEYS}, or
-   * {@link KeyboardFocusManager#UP_CYCLE_TRAVERSAL_KEYS}. Normally, the
+   * {@link #KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS},
+   * {@link #KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS}, or
+   * {@link #KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS}. Normally, the
    * default values should match the operating system's native
    * choices. To disable a given traversal, use
    * <code>Collections.EMPTY_SET</code>. The event dispatcher will
@@ -4770,10 +4762,6 @@
                     .getCurrentKeyboardFocusManager()
                     .dispatchEvent(e))
                     return;
-              case MouseEvent.MOUSE_PRESSED:
-                if (isLightweight())
-                  requestFocus();
-                break;
               }
           }
         processEvent (e);
