NewColorAndFontPanel (@NotNull ColorAndFontOptions options) { FontEditorPreview previewPanel = new FontEditorPreview(()->options.getSelectedScheme(), true); return new NewColorAndFontPanel(new SchemesPanel(options, 0), new FontOptions(options), previewPanel, getFontConfigurableName(), null, null){ @Override public boolean containsFontOptions() { return true; } }; }