public static void setBackgroundRecursively(@NotNull Component component, @NotNull Color bg) {
    forEachComponentInHierarchy(component, c -> c.setBackground(bg));
  }
public static void setBackgroundRecursively(@NotNull Component component, @NotNull Color bg)