void () { myRendererComponent.add(mySeparatorComponent, BorderLayout.NORTH); myExtraPanel.add(getItemComponent(), BorderLayout.CENTER); myExtraPanel.add(myCountLabel, BorderLayout.EAST); myRendererComponent.add(myExtraPanel, BorderLayout.CENTER); }