@Override
    public void mousePressed(@NotNull MouseEvent e) {
      if (!e.isPopupTrigger() && e.getButton() == MouseEvent.BUTTON1) {
        logMousePressed(e);
        showPopup(true);
      }
    }
@Override
    public void mousePressed(@NotNull MouseEvent e)