public static void disableTooltip(Component source) {
    if (source instanceof JComponent component) {
      component.putClientProperty(TOOLTIP_DISABLED_PROPERTY, Boolean.TRUE);
    }
  }
public static void disableTooltip(Component source)