@Override
      public void mouseClicked(MouseEvent e) {
        if (e instanceof SyntheticClickEvent && !e.isConsumed() && onClick(e, e.getClickCount())) {
          e.consume();
        }
      }
@Override
      public void mouseClicked(MouseEvent e)