@Override
	protected void propertyChange( PropertyChangeEvent e ) {
		// invoke updateBackground() before super.propertyChange()
		String propertyName = e.getPropertyName();
		if( "editable".equals( propertyName ) || "enabled".equals( propertyName ) )
			updateBackground();

		super.propertyChange( e );
		FlatEditorPaneUI.propertyChange( getComponent(), e, this::installStyle );
	}
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