inputMap_whenInFocusedWindow = new InputMap();
inputMap_whenInFocusedWindow = new ComponentInputMap(this);
  public final InputMap getInputMap(int condition)  {    enableEvents(AWTEvent.KEY_EVENT_MASK);    switch (condition)      {      case WHEN_FOCUSED:        if (inputMap_whenFocused == null)          inputMap_whenFocused = new InputMap();        return inputMap_whenFocused;      case WHEN_ANCESTOR_OF_FOCUSED_COMPONENT:        if (inputMap_whenAncestorOfFocused == null)          inputMap_whenAncestorOfFocused = new InputMap();        return inputMap_whenAncestorOfFocused;      case WHEN_IN_FOCUSED_WINDOW:        if (inputMap_whenInFocusedWindow == null)          inputMap_whenInFocusedWindow = new InputMap();        return inputMap_whenInFocusedWindow;      case UNDEFINED_CONDITION:      default:        return null;      }  }