void () { final ButtonGroup buttonGroup = new ButtonGroup(); myConflictingPluginsListPanel = new JPanel(new GridLayout(0, 1)); final List<JPanel> pluginDescriptions = ContainerUtil.map(myConflictingPlugins, plugin -> getChooserPanelForPlugin(buttonGroup, plugin)); pluginDescriptions.forEach(myConflictingPluginsListPanel::add); if (!myIsConflictWithPlatform) { JPanel chooserPanelForPlugin = getChooserPanelForPlugin(buttonGroup, null); myConflictingPluginsListPanel.add(chooserPanelForPlugin); } setUpDefaultSelection(); }