public static void decorateWindowHeader(@Nullable JRootPane pane) {
    if (pane != null && SystemInfoRt.isMac) {
      pane.putClientProperty("apple.awt.windowAppearance",
                             StartupUiUtil.INSTANCE.isDarkTheme() ? "NSAppearanceNameVibrantDark" : "NSAppearanceNameVibrantLight");
    }
  }
public static void decorateWindowHeader(@Nullable JRootPane pane)