code: public UITab setActive(boolean active)
  	{
  		if (container == null)
  		{
  			this.active = active;
  			return this;
  		}
  
  		//		if (this.active != active)
  		//		{
  		//			switch (getTabPosition())
  		//			{
  		//				case TOP:
  		//				case BOTTOM:
  		//					this.y += active ? -1 : 1;
  		//					this.height += active ? 2 : -2;
  		//					break;
  		//				case LEFT:
  		//				case RIGHT:
  		//					this.x += active ? -1 : 1;
  		//					this.width += active ? 2 : -2;
  		//					break;
  		//			}
  		//		}
  
  		this.active = active;
  		this.container.setVisible(active);
  		this.container.setEnabled(active);
  		this.zIndex = container.getZIndex() + (active ? 1 : 0);
  
  		//applies current color to attached container
  		setColor(this.color);
  
  		fireEvent(new ActiveStateChange<>(this, active));
  		return this;
  	}
docs: Sets this tab to be active. Enables and sets visibility for its container.
  
  @param active true if active