docs: @Override
  	public void removeTabAt(int index) {
  		if (index < 0 || index >= getTabCount()) {
  			throw new IndexOutOfBoundsException("Index: " + index + ", Tab count: " + getTabCount());
  		}
  
  		Component component = getComponentAt(index);
  		super.removeTabAt(index);
  
  		if (!(component instanceof AbstractPanel)) {
  			return;
  		}
  
  		removeFromInternalState(component);
  	}