mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EditorTextFieldRenderer: do not inherit fonts from LaF
This commit is contained in:
@@ -106,6 +106,7 @@ public abstract class EditorTextFieldCellRenderer implements TableCellRenderer,
|
||||
// reuse EditorTextField initialization logic
|
||||
EditorTextField field = new EditorTextField(new MyDocument(), null, FileTypes.PLAIN_TEXT, false, false);
|
||||
field.setSupplementary(true);
|
||||
field.setFontInheritedFromLAF(false);
|
||||
field.addNotify(); // creates editor
|
||||
|
||||
EditorEx editor = (EditorEx)ObjectUtils.assertNotNull(field.getEditor());
|
||||
|
||||
Reference in New Issue
Block a user