Style menuStyle = StyleSheet.getStyle("menu"); if (menuStyle != null) { String colorStr = menuStyle.getProperty("menubar-color"); if (colorStr != null) { this.menuBarColor = Integer.parseInt(colorStr); } this.menuFontColor = menuStyle.labelFontColor; if (menuStyle.labelFont != null) { this.menuFont = menuStyle.labelFont; this.menuBarHeight = this.menuFont.getHeight() + 2; this.screenHeight = this.fullScreenHeight - this.menuBarHeight; }  }
	public void setStyle(Style style) {		this.style = style;		this.background = style.background;		this.border = style.border;		this.container.setStyle(style, true);		this.isLayoutVCenter = (( style.layout & Item.LAYOUT_VCENTER ) == Item.LAYOUT_VCENTER);		//#ifdef tmp.menuFullScreen		Style menuStyle = StyleSheet.getStyle("menu");		if (menuStyle != null) {			String colorStr = menuStyle.getProperty("menubar-color");			if (colorStr != null) {				this.menuBarColor = Integer.parseInt(colorStr);			}			this.menuFontColor = menuStyle.labelFontColor;			if (menuStyle.labelFont != null) {				this.menuFont = menuStyle.labelFont;				this.menuBarHeight = this.menuFont.getHeight() + 2;				this.screenHeight = this.fullScreenHeight - this.menuBarHeight;			}					}		//#endif	}