this.container = tabContainer; if (this.screenStateListener != null) { this.screenStateListener.screenStateChanged( this ); }
	public void setActiveTab( int tabIndex ) {		//#debug		System.out.println("Activating tab [" + tabIndex + "].");		if (this.container.isInitialised) {			this.container.defocus( this.container.style );			//#if polish.TabbedForm.releaseResourcesOnTabChange				this.container.releaseResources();			//#endif		}		this.activeTabIndex = tabIndex;		this.tabBar.setActiveTab(tabIndex);		Container tabContainer = this.tabContainers[ tabIndex ];		tabContainer.setVerticalDimensions( this.contentY, this.contentY + this.contentHeight );		if (!tabContainer.isInitialised) {			tabContainer.init( this.screenWidth, this.screenWidth );		}		if (tabContainer.appearanceMode != Item.PLAIN) {			//#debug			System.out.println("Focusing tab [" + tabIndex + "].");			tabContainer.focus( tabContainer.style, 0 );		}		tabContainer.background = null;		tabContainer.border = null;		this.container = tabContainer;		if (this.screenStateListener != null) {			this.screenStateListener.screenStateChanged( this );		}		if (isShown()) {			repaint();		}	}