public static void setEnabledRecursively(@NotNull Component component, boolean enabled) {
    forEachComponentInHierarchy(component, c -> {
      c.setEnabled(enabled);
    });
  }
public static void setEnabledRecursively(@NotNull Component component, boolean enabled)