JComponent () { panelScriptDefinitionsChooser.setLayout(new VerticalLayout(0)); panelScriptDefinitionsChooser.add(new TitledSeparator(KotlinBundle.message("kotlin.script.definitions.title"))); JLabel commentLabel = new JLabel(KotlinBundle.message("kotlin.script.definitions.model.name.autoReloadScriptDependencies.description")); commentLabel.setForeground(UIUtil.getContextHelpForeground()); panelScriptDefinitionsChooser.add(commentLabel); TableView<ModelDescriptor> table = new TableView<>(model); panelScriptDefinitionsChooser.add( ToolbarDecorator.createDecorator(table) .disableAddAction() .disableRemoveAction() .createPanel() ); table.setVisibleRowCount(12); additionalSettingsPanel.setLayout(new VerticalLayout(0)); List<ScriptingSupportSpecificSettingsProvider> providers = ScriptingSupportSpecificSettingsProvider.SETTINGS_PROVIDERS.getExtensionList(project); for (ScriptingSupportSpecificSettingsProvider provider : providers) { additionalSettingsPanel.add(new TitledSeparator(provider.getTitle())); UnnamedConfigurable configurable = provider.createConfigurable(); scriptingSupportSettingsConfigurables.add(configurable); additionalSettingsPanel.add(configurable.createComponent()); } return root; }