JComponent () { setTitle(AbstractNewProjectStep.EP_NAME.hasAnyExtensions() ? ProjectBundle.message("dialog.title.new.project") : ProjectBundle.message("dialog.title.create.project")); DefaultActionGroup root = createRootStep(); Disposer.register(getDisposable(), () -> root.removeAll()); Pair<JPanel, JBList<AnAction>> pair = ActionGroupPanelWrapper.createActionGroupPanel(root, null, getDisposable()); JPanel component = pair.first; myPair = pair; UiNotifyConnector.doWhenFirstShown(myPair.second, () -> ScrollingUtil.ensureSelectionExists(myPair.second)); ActionGroupPanelWrapper.installQuickSearch(pair.second); return component; }