protected void initComponents() {
detachedContentUIMap = new Hashtable<Content, TabbedContentUI>();
final JTabbedContentManager tabbedContentManager = new JTabbedContentManager();
tabbedContentManager.addTabListener(new TabListener() {
public void tabEventFired(TabEvent event) {
Content content = contentManager.getContentByComponent(event.getContentManager().getComponentAt(event.getOverTabIndex()));
switch (event.getActionId()) {
case ON_CLOSE:
try {