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

		// necessary to update focus background
		focusListener = new FlatUIUtils.RepaintFocusListener( getComponent(), c -> focusedBackground != null );
		getComponent().addFocusListener( focusListener );
	}
Provides the Flat LaF UI delegate for {@link javax.swing.JEditorPane}.

<!-- BasicEditorPaneUI -->

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

<!-- FlatEditorPaneUI -->

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

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