@Override
	protected JFormattedTextField createEditor() {
		JFormattedTextField editor = new DefaultEditor( new DatePickerFormatterUIResource( datePicker.getLocale() ) );
		editor.setName( "dateField" );
		editor.setBorder( BorderFactory.createEmptyBorder() );
		editor.setOpaque( false );
		editor.addFocusListener( new FlatUIUtils.RepaintFocusListener( datePicker, null ) );
		return editor;
	}
Provides the Flat LaF UI delegate for {@link org.jdesktop.swingx.JXDatePicker}.

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