@Override
          protected boolean canAutoHideOn(TooltipEvent event) {
              InputEvent inputEvent = event.getInputEvent();
              return ((inputEvent instanceof MouseEvent)) && ((MouseEvent)inputEvent).getButton() != 0;
          }
@Override
          protected boolean canAutoHideOn(TooltipEvent event)