AppFontConfigurable (JComponent component, Class<? extends AppFontConfigurable> confClass) { Settings allSettings = Settings.KEY.getData(DataManager.getInstance().getDataContext(component)); return allSettings != null ? allSettings.find(confClass) : null; }