JPanel (FrameworkGroup<?> group, boolean addToOptions) { JPanel panel = myInitializedGroupPanels.get(group); if (panel == null) { FrameworkVersionComponent component = new FrameworkVersionComponent(myModel, group.getId(), group.getGroupVersions(), JavaUiBundle.message("add.framework.support.label.version", group.getPresentableName())); panel = component.getMainPanel(); myInitializedGroupPanels.put(group, panel); if (addToOptions) { myOptionsPanel.add(group.getId(), wrapInScrollPane(panel)); } } return panel; }