this.scrollIndicatorY = this.fullScreenHeight - this.menuBar.marginBottom + 1 - this.scrollIndicatorWidth;
this.scrollIndicatorY = (this.fullScreenHeight - (this.menuBar.marginBottom + this.menuBar.paddingBottom + this.menuBar.contentHeight)) + ((this.menuBar.contentHeight - this.scrollIndicatorWidth)/2);
	private void init() {		//#debug		System.out.println("Initialising screen " + this );		boolean startAnimationThread = false;		if (StyleSheet.animationThread == null) {			StyleSheet.animationThread = new AnimationThread();			startAnimationThread = true;		}		//#ifdef polish.Screen.initCode:defined			//#include ${polish.Screen.initCode}		//#endif		if (this.style != null) {			setStyle( this.style );		}		//#ifdef polish.useDynamicStyles			// check if this screen has got a style:			if (this.style == null) {				this.cssSelector = createCssSelector();				setStyle( StyleSheet.getStyle( this ) );			} else {				this.cssSelector = this.style.name;			}		//#endif		//#ifdef tmp.menuFullScreen			//#ifdef tmp.useExternalMenuBar				int availableScreenWidth = this.screenWidth - (this.marginLeft + this.marginRight);				this.menuBarHeight = this.menuBar.getItemHeight( availableScreenWidth, availableScreenWidth );				//#if !tmp.useScrollBar					this.scrollIndicatorWidth = this.menuBar.contentHeight + this.menuBar.paddingTop + this.menuBar.paddingBottom;					this.scrollIndicatorX = this.screenWidth / 2 - this.scrollIndicatorWidth / 2;					this.scrollIndicatorY = this.fullScreenHeight - this.menuBar.marginBottom + 1 - this.scrollIndicatorWidth;				//#endif				//System.out.println("without ExternalMenu: scrollIndicatorY=" + this.scrollIndicatorY + ", screenHeight=" + this.screenHeight + ", FullScreenHeight=" + this.fullScreenHeight );					//System.out.println("Screen.init: menuBarHeight=" + this.menuBarHeight + " scrollIndicatorWidth=" + this.scrollIndicatorWidth );			//#else				//#ifdef polish.css.style.menu					Style menustyle = StyleSheet.menuStyle;				//#else					//# Style menustyle = this.style;				//#endif				if (menustyle != null) {					Integer colorInt = null;					if (this.style != null) {						colorInt = this.style.getIntProperty("menubar-color");					}					if (colorInt == null) {						colorInt = menustyle.getIntProperty("menubar-color");					}					if (colorInt != null) {						this.menuBarColor = colorInt.intValue();					}					this.menuFontColor = menustyle.fontColor;					if (menustyle.font != null) {						this.menuFont = menustyle.font;					} else {						this.menuFont = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_MEDIUM );									}							} else {					this.menuFont = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_MEDIUM );				}				int localMenuBarHeight = this.menuFont.getHeight();				//#ifdef polish.Menu.PaddingBottom:defined					//#= localMenuBarHeight += ${polish.Menu.PaddingBottom};  				//#endif				//#ifdef polish.Menu.PaddingTop:defined					//#= localMenuBarHeight += ${polish.Menu.PaddingTop};  				//#endif				//#if !polish.Menu.PaddingBottom:defined && !polish.Menu.PaddingTop:defined					localMenuBarHeight += 2;				//#endif				//#if !tmp.useScrollBar					this.scrollIndicatorWidth = localMenuBarHeight;					this.scrollIndicatorX = this.screenWidth / 2 - this.scrollIndicatorWidth / 2;					this.scrollIndicatorY = this.fullScreenHeight - this.scrollIndicatorWidth;				//#endif				//System.out.println("without ExternalMenu: scrollIndicatorY=" + this.scrollIndicatorY + ", screenHeight=" + this.screenHeight + ", FullScreenHeight=" + this.fullScreenHeight + ", localMenuBarHeight=" + localMenuBarHeight);					//#ifdef polish.Menu.MarginBottom:defined 					//#= localMenuBarHeight += ${polish.Menu.MarginBottom};					//#= this.scrollIndicatorY -=  ${polish.Menu.MarginBottom};				//#endif				//#ifdef polish.Menu.MarginTop:defined 					//#= localMenuBarHeight += ${polish.Menu.MarginTop};				//#endif				this.menuBarHeight = localMenuBarHeight;			//#endif			int diff = this.originalScreenHeight - this.screenHeight;			this.originalScreenHeight = this.fullScreenHeight - this.menuBarHeight;			this.screenHeight = this.originalScreenHeight - diff;			// set position of scroll indicator:		//#elif polish.vendor.Siemens && !tmp.useScrollBar			// set the position of scroll indicator for Siemens devices 			// on the left side, so that the menu-indicator is visible:			this.scrollIndicatorWidth = 12;			this.scrollIndicatorX = 0;			this.scrollIndicatorY = this.screenHeight - this.scrollIndicatorWidth - 1;		//#elif !tmp.useScrollBar			// set position of scroll indicator:			this.scrollIndicatorWidth = 12;			this.scrollIndicatorX = this.screenWidth - this.scrollIndicatorWidth;			this.scrollIndicatorY = this.screenHeight - this.scrollIndicatorWidth - 1;		//#endif					//System.out.println("final: scrollIndicatorY=" + this.scrollIndicatorY + ", screenHeight=" + this.screenHeight + ", FullScreenHeight=" + this.fullScreenHeight );			if (this.container != null) {			this.container.screen = this;		}		calculateContentArea( 0, 0, this.screenWidth, this.screenHeight );				// start the animmation thread if necessary: 		if (startAnimationThread) {			StyleSheet.animationThread.start();		}		this.isInitialised = true;	}