else if (keySelectionManager != null) { int i = keySelectionManager.selectionForKey(e.getKeyChar(), getModel()); if (i >= 0) setSelectedIndex(i); else super.processKeyEvent(e); }
  public void processKeyEvent(KeyEvent e)  {    if (e.getKeyCode() == KeyEvent.VK_TAB)      setPopupVisible(false);    else if (keySelectionManager != null)      {        int i = keySelectionManager.selectionForKey(e.getKeyChar(),                                                    getModel());        if (i >= 0)          setSelectedIndex(i);        else          super.processKeyEvent(e);      }    else      super.processKeyEvent(e);  }