public static void enableTooltip(Component source) {
    if (source instanceof JComponent component) {
      component.putClientProperty(TOOLTIP_DISABLED_PROPERTY, null);
    }
  }
public static void enableTooltip(Component source)