@Override
	protected void uninstallDefaults( JRootPane c ) {
		super.uninstallDefaults( c );

		// uninstall background, foreground and font because not all Lafs set them
		if( c.isBackgroundSet() && c.getBackground() instanceof UIResource )
			c.setBackground( null );
		if( c.isForegroundSet() && c.getForeground() instanceof UIResource )
			c.setForeground( null );
		if( c.isFontSet() && c.getFont() instanceof UIResource )
			c.setFont( null );
	}
Provides the Flat LaF UI delegate for {@link javax.swing.JRootPane}.

<!-- FlatRootPaneUI -->

@uiDefault RootPane.border								Border
@uiDefault RootPane.activeBorderColor					Color
@uiDefault RootPane.inactiveBorderColor					Color
@uiDefault TitlePane.borderColor							Color	optional

<!-- FlatWindowResizer -->

@uiDefault RootPane.font									Font	unused
@uiDefault RootPane.background							Color
@uiDefault RootPane.foreground							Color	unused
@uiDefault RootPane.borderDragThickness					int
@uiDefault RootPane.cornerDragWidth						int
@uiDefault RootPane.honorFrameMinimumSizeOnResize		boolean
@uiDefault RootPane.honorDialogMinimumSizeOnResize		boolean

@author Karl Tauber
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatRootPaneUI.java