void triggerPopup(Object source) {
    if (!popup.isMenuCanceledForMouseEvent(source)) {
      editor.requestFocus();
      if (showChoices()) {
        popup.setPopupFocused(true);
      }
    }
  }
void triggerPopup(Object source)