GroupTitleRenderer (@Nls String title, Component itemContent) { titleLabel.clear(); titleLabel.append(title, SEResultsListFactory.SMALL_LABEL_ATTRS); Component prevContent = ((BorderLayout)getLayout()).getLayoutComponent(BorderLayout.CENTER); if (prevContent != null) { remove(prevContent); } add(itemContent, BorderLayout.CENTER); accessibleContext = itemContent.getAccessibleContext(); return this; }