protected boolean isMenuBarEmbedded() {
		if( isFullWindowContent() )
			return false;

		// not storing value of "TitlePane.menuBarEmbedded" in class to allow changing at runtime
		return FlatUIUtils.getBoolean( rootPane,
			FlatSystemProperties.MENUBAR_EMBEDDED,
			FlatClientProperties.MENU_BAR_EMBEDDED,
			"TitlePane.menuBarEmbedded",
			false );
	}
Returns whether the menubar should be embedded into the title pane.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTitlePane.java