void updateTheme() {
		Font font = createEditorFont( 0 );

		textArea.setFont( font );
		textArea.setBackground( UIManager.getColor( "FlatThemeEditorPane.background" ) );
		textArea.setCaretColor( UIManager.getColor( "FlatThemeEditorPane.caretColor" ) );
		textArea.setSelectionColor( UIManager.getColor( "FlatThemeEditorPane.selectionBackground" ) );
		textArea.setCurrentLineHighlightColor( UIManager.getColor( "FlatThemeEditorPane.currentLineHighlight" ) );
		textArea.setMarkAllHighlightColor( UIManager.getColor( "FlatThemeEditorPane.markAllHighlightColor" ) );
		textArea.setMarkOccurrencesColor( UIManager.getColor( "FlatThemeEditorPane.markOccurrencesColor" ) );
		textArea.setMatchedBracketBGColor( UIManager.getColor( "FlatThemeEditorPane.matchedBracketBackground" ) );
		textArea.setMatchedBracketBorderColor( UIManager.getColor( "FlatThemeEditorPane.matchedBracketBorderColor" ) );
		textArea.setPaintMatchedBracketPair( true );
		textArea.setAnimateBracketMatching( false );

		// syntax
		textArea.setSyntaxScheme( new FlatSyntaxScheme( font ) );

		// gutter
		Gutter gutter = scrollPane.getGutter();
		gutter.setBackground( UIManager.getColor( "FlatThemeEditorPane.gutter.background" ) );
		gutter.setBorderColor( UIManager.getColor( "FlatThemeEditorPane.gutter.borderColor" ) );
		gutter.setLineNumberColor( UIManager.getColor( "FlatThemeEditorPane.gutter.lineNumberColor" ) );
		gutter.setLineNumberFont( font );

		// error strip
		errorStrip.setCaretMarkerColor( UIManager.getColor( "FlatThemeEditorPane.errorstrip.caretMarkerColor" ) );

		if( preview != null )
			preview.updateLater();
	}
A pane that supports editing FlatLaf themes.

@author Karl Tauber
flatlaf-theme-editor/src/main/java/com/formdev/flatlaf/themeeditor/FlatThemeEditorPane.java