JComponent () { myPanel = new ClasspathPanelImpl(getState()); final JPanel panel = new JPanel(new BorderLayout()); panel.setBorder(JBUI.Borders.empty(0, UIUtil.DEFAULT_HGAP)); panel.add(myPanel, BorderLayout.CENTER); final ModuleJdkConfigurable jdkConfigurable = new ModuleJdkConfigurable(this, ((ModulesConfigurator)getState().getModulesProvider()).getProjectStructureConfigurable()) { @Override protected ModifiableRootModel getRootModel() { return getModifiableModel(); } }; panel.add(jdkConfigurable.createComponent(), BorderLayout.NORTH); jdkConfigurable.reset(); registerDisposable(jdkConfigurable); ClasspathStorageProvider[] providers = ClasspathStorageProvider.EXTENSION_POINT_NAME.getExtensions(); if (providers.length > 0) { myClasspathFormatPanel = new ClasspathFormatPanel(providers, getState()); panel.add(myClasspathFormatPanel, BorderLayout.SOUTH); } return panel; }