if (this.ignoreMotorolaTitleCall) { this.ignoreMotorolaTitleCall = false; return; } else { this.ignoreMotorolaTitleCall = true;
if (s == null) { if (this.ignoreMotorolaTitleCall) { this.ignoreMotorolaTitleCall = false; return; }
	public void setTitle( String s)	{		//#debug		System.out.println("Setting title " + s );		//#ifdef tmp.ignoreMotorolaTitleCall			if (this.ignoreMotorolaTitleCall) {				this.ignoreMotorolaTitleCall = false;				return;			} else {				this.ignoreMotorolaTitleCall = true;			}		//#endif		if (s != null) {			//#style title, default			this.title = new StringItem( null, s );			//#ifdef polish.css.title-style				if (this.titleStyle != null) {					this.title.setStyle( this.titleStyle );				}			//#endif			// the Nokia 6600 has an amazing bug - when trying to refer the			// field screenWidth, it returns 0 in setTitle(). Obviously this works			// in other phones and in the simulator, but not on the Nokia 6600.			// That's why hardcoded values are used here. 			// The name of the field does not matter by the way. This is 			// a very interesting behaviour and should be analysed			// at some point...			//#ifdef polish.ScreenWidth:defined				//#= this.titleHeight = this.title.getItemHeight(${polish.ScreenWidth}, ${polish.ScreenWidth});			//#else				this.titleHeight = this.title.getItemHeight( getWidth(), getWidth() );			//#endif		} else {			this.title = null;			this.titleHeight = 0;		}		if (this.container != null) {			this.container.setVerticalDimensions( 0,  this.screenHeight - (this.titleHeight + this.subTitleHeight + this.infoHeight) );		}		if (this.isInitialised && isShown()) {			repaint();		}	}