private void showPopup() {
    JBPopupMenu menu = new JBPopupMenu();
    getKeyStrokes().forEach(stroke -> menu.add(getPopupAction(stroke)));
    Insets insets = getInsets();
    menu.show(this, getWidth() - insets.right, insets.top);
  }
private void showPopup()