@Override
    public void mousePressed(MouseEvent e) {
      Component owner = IdeFocusManager.getInstance(null).getFocusOwner();
      myWasPressedOnFocusTransfer = owner == null;

      if (isDeadZone()) return;

      if (myActionTrigger == MouseEvent.MOUSE_RELEASED &&
          UIUtil.isActionClick(e, MouseEvent.MOUSE_PRESSED)) {
        setPressedByMouse(true);
      }

      if (passIfNeeded(e)) return;

      if (myActionTrigger == MouseEvent.MOUSE_PRESSED ||
          myActionTrigger == MOUSE_PRESSED_RELEASED) {
        execute(e);
      }
      else {
        repaintComponent();
      }
    }
@Override
    public void mousePressed(MouseEvent e)