public void showInfo() {
    Component comp = getSelectedComponent();
    if (!(comp instanceof ContentPane)) return;

    ContentPane cp = (ContentPane) comp;
    ContentPane.View vw = cp.getView();
    if (vw != null) vw.showInfo();
  }
  protected boolean isCloseable(int index) {
    Component comp = null;
    try {
      comp = getComponentAt(index);
    } catch (Throwable t) {;
    }

    if (comp instanceof ContentPane) {
      ContentPane cp = (ContentPane) comp;
      return cp.isCanClose();
    } else {
      return false;
    }
  }
 public void mouseClicked(MouseEvent e) {
   if (closeIconBounds.contains(e.getPoint())) {
     Component comp = getSelectedComponent();
     if (comp instanceof ContentPane) {
       ((ContentPane) comp).close();
       closeIconHover = false;
     }
   }
 }