FontPreferences () { AppEditorFontConfigurable configurable = (AppEditorFontConfigurable)findConfigurable(this, AppEditorFontConfigurable.class); if (configurable != null) { AppEditorFontOptionsPanel panel = configurable.getPanel(); if (panel != null) { return panel.getFontPreferences(); } } return AppEditorFontOptions.getInstance().getFontPreferences(); }