setGlobalFocusOwner(null);
EventQueue q = Toolkit.getDefaultToolkit ().getSystemEventQueue (); if (focusOwner != permanentFocusOwner) q.postEvent (new FocusEvent (focusOwner, FocusEvent.FOCUS_LOST, true)); else q.postEvent (new FocusEvent (focusOwner, FocusEvent.FOCUS_LOST, false));
  public void clearGlobalFocusOwner()  {    // XXX Is this enough?    setGlobalFocusOwner(null);  }