@@ -62,6 +62,7 @@ public class MaterialLookAndFeel extends MetalLookAndFeel {
62
62
private static final String radioButtonMenuItemUI = MaterialRadioButtonMenuItemUI .class .getCanonicalName ();
63
63
private static final String checkBoxMenuItemUI = MaterialCheckBoxMenuItemUI .class .getCanonicalName ();
64
64
private static final String textPaneUI = MaterialTextPaneUI .class .getCanonicalName ();
65
+ private static final String editorPane = MaterialTextPaneUI .class .getCanonicalName ();
65
66
66
67
@ Override
67
68
public String getName () {
@@ -116,6 +117,7 @@ protected void initClassDefaults (UIDefaults table) {
116
117
table .put ("RadioButtonMenuItemUI" , radioButtonMenuItemUI );
117
118
table .put ("CheckBoxMenuItemUI" , checkBoxMenuItemUI );
118
119
table .put ("TextPaneUI" , textPaneUI );
120
+ table .put ("EditorPaneUI" , editorPane );
119
121
}
120
122
121
123
@ Override
@@ -290,5 +292,11 @@ protected void initComponentDefaults (UIDefaults table) {
290
292
table .put ("TextPane.selectionBackground" , MaterialColors .LIGHT_BLUE_200 );
291
293
table .put ("TextPane.inactiveForeground" , MaterialColors .GRAY_500 );
292
294
table .put ("TextPane.font" , MaterialFonts .BLACK_ITALIC );
295
+
296
+ table .put ("EditorPane.border" , MaterialBorders .DEFAULT_SHADOW_BORDER );
297
+ table .put ("EditorPane.background" , MaterialColors .GRAY_50 );
298
+ table .put ("EditorPane.selectionBackground" , MaterialColors .LIGHT_BLUE_200 );
299
+ table .put ("EditorPane.inactiveForeground" , MaterialColors .GRAY_500 );
300
+ table .put ("EditorPane.font" , MaterialFonts .BLACK_ITALIC );
293
301
}
294
302
}
0 commit comments