mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-27 03:46:17 -06:00
TextComponents:
- use focusedBackground only if editable (and enabled) - prefer explicit set background color over focusedBackground - added FlatTextFieldUI.getBackground() used by all text components - support EditorPane.focusedBackground - support TextPane.focusedBackground (issue #335)
This commit is contained in:
@@ -156,7 +156,7 @@ public class FlatDatePickerUI
|
||||
editor.setName( "dateField" );
|
||||
editor.setBorder( BorderFactory.createEmptyBorder() );
|
||||
editor.setOpaque( false );
|
||||
editor.addFocusListener( new FlatUIUtils.RepaintFocusListener( datePicker ) );
|
||||
editor.addFocusListener( new FlatUIUtils.RepaintFocusListener( datePicker, null ) );
|
||||
return editor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user