void (PaletteGroup group, JComponent control) { PaletteGroupHeader groupHeader = new PaletteGroupHeader(this, group); myGroupHeaders.add(groupHeader); myGroups.add(group); control.add(groupHeader); PaletteComponentList componentList = new PaletteComponentList(myProject, this, group); control.add(componentList); groupHeader.setComponentList(componentList); componentList.addListSelectionListener(myListSelectionListener); }