void remove(Content content) {
    if (!myTabs.myContents.containsKey(content)) return;

    final TabInfo info = getTabFor(content);
    myTabs.myContents.remove(content);

    revalidateCell(() -> myTabs.removeTab(info));

    updateSelection(myTabs.getComponent().getRootPane() != null);
  }
void remove(Content content)