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