code: private void hideTab(Component component) {
  		if (hiddenTabs.contains(component)) {
  			return;
  		}
  		hiddenTabs.add(component);
  
  		int index = indexOfComponent(component);
  		if (index != -1) {
  			super.removeTabAt(index);
  		}
  		
  		handleHiddenTabListTab();
  	}
docs: Hides the tab of the given component.
  <p>
  <strong>Note:</strong> Non-{@link AbstractPanel#isHideable() hideable} and {@link AbstractPanel#isPinned() pinned} panels
  are hidden as well.
  
  @param component the component to hide.