@Override
	public void uninstallUI( JComponent c ) {
		if( group.getContentPane() instanceof JComponent ) {
			// uninstall our content border, because it does not implement UIResource,
			// to allow other LaF to install its own border
			JComponent content = (JComponent) group.getContentPane();
			if( content.getBorder() instanceof FlatContentPaneBorder )
				content.setBorder( null );

			// replace our non-UIResouce background with UIResouce background
			// to allow next LaF to overwrite it
			if( background.equals( content.getBackground() ) )
				content.setBackground( background );
			background = null;
		}


		super.uninstallUI( c );
	}
Provides the Flat LaF UI delegate for {@link org.jdesktop.swingx.JXTaskPane}.

@author Karl Tauber
flatlaf-swingx/src/main/java/com/formdev/flatlaf/swingx/ui/FlatTaskPaneUI.java