void () { Settings allSettings = Settings.KEY.getData(DataManager.getInstance().getDataContext(myTopPanel)); if (allSettings != null) { final Configurable colorSchemeConfigurable = allSettings.find(ColorAndFontOptions.ID); if (colorSchemeConfigurable instanceof ColorAndFontOptions) { Configurable fontOptions = ((ColorAndFontOptions)colorSchemeConfigurable).findSubConfigurable(ColorAndFontOptions.getFontConfigurableName()); if (fontOptions != null) { allSettings.select(fontOptions); } } } }