@Override
	protected void installDefaults() {
		super.installDefaults();

		String prefix = getPropertyPrefix();
		minimumWidth = UIManager.getInt( "Component.minimumWidth" );
		background = UIManager.getColor( prefix + ".background" );
		disabledBackground = UIManager.getColor( prefix + ".disabledBackground" );
		inactiveBackground = UIManager.getColor( prefix + ".inactiveBackground" );
		focusedBackground = UIManager.getColor( prefix + ".focusedBackground" );

		defaultMargin = UIManager.getInsets( prefix + ".margin" );

		// use component font and foreground for HTML text
		oldHonorDisplayProperties = getComponent().getClientProperty( JEditorPane.HONOR_DISPLAY_PROPERTIES );
		getComponent().putClientProperty( JEditorPane.HONOR_DISPLAY_PROPERTIES, true );
	}
Provides the Flat LaF UI delegate for {@link javax.swing.JTextPane}.

<!-- BasicTextPaneUI -->

@uiDefault TextPane.font						Font
@uiDefault TextPane.background				Color
@uiDefault TextPane.foreground				Color	also used if not editable
@uiDefault TextPane.caretForeground			Color
@uiDefault TextPane.selectionBackground		Color
@uiDefault TextPane.selectionForeground		Color
@uiDefault TextPane.disabledBackground		Color	used if not enabled
@uiDefault TextPane.inactiveBackground		Color	used if not editable
@uiDefault TextPane.inactiveForeground		Color	used if not enabled (yes, this is confusing; this should be named disabledForeground)
@uiDefault TextPane.border					Border
@uiDefault TextPane.margin					Insets
@uiDefault TextPane.caretBlinkRate			int		default is 500 milliseconds

<!-- FlatTextPaneUI -->

@uiDefault Component.minimumWidth			int
@uiDefault TextPane.focusedBackground		Color	optional

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