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