g.setClip(0, 0, this.screen.screenWidth , this.screen.screenHeight );
	protected void paintContent(int x, int y, int leftBorder, int rightBorder, Graphics g) 	{		if (this.isOpened) {			// paint opened menu:			//System.out.println("setting clip " + this.topY + ", " + (this.screen.screenHeight - this.topY) );			//#if tmp.useInvisibleMenuBar				// paint menu at the top left corner:				g.setClip(0, this.topY, this.screen.screenWidth , this.screen.screenHeight - this.topY);				this.commandsContainer.paint( this.screen.screenWidth - this.commandsContainerWidth, this.topY, this.commandsContainerWidth, this.screen.screenWidth, g);			//#else				// paint menu at the lower right corner:				g.setClip(0, this.topY, this.screen.screenWidth , this.screen.screenHeight - this.topY);				this.commandsContainer.paint(0, this.commandsContainerY, 0, this.commandsContainerWidth , g);			//#endif			//System.out.println("MenuBar: commandContainer.background == null: " + ( this.commandsContainer.background == null ) );			//System.out.println("MenuBar: commandContainer.style.background == null: " + ( this.commandsContainer.style.background == null ) );		//#if !tmp.useInvisibleMenuBar			//#ifdef polish.FullCanvasSize:defined				//#= g.setClip(0, 0, ${polish.FullCanvasWidth}, ${polish.FullCanvasHeight} );			//#else				//TODO rob check if resetting of clip really works				g.setClip(0, this.commandsContainerY, this.screen.screenWidth, this.screen.screenHeight );			//#endif			// paint menu-bar:			this.singleLeftCommandItem.paint(x, y + this.singleLeftCommandY, leftBorder, rightBorder, g);			x = rightBorder - this.singleRightCommandItem.itemWidth;			this.singleRightCommandItem.paint(x, y + this.singleRightCommandY, leftBorder, rightBorder, g);		} else {			if (this.commandsContainer.size() > 0 || this.singleLeftCommand != null) {				this.singleLeftCommandItem.paint(x, y + this.singleLeftCommandY, leftBorder, rightBorder, g);			}			if (this.singleRightCommand != null) {				x = rightBorder - this.singleRightCommandItem.itemWidth;				this.singleRightCommandItem.paint(x, y + this.singleRightCommandY, leftBorder, rightBorder, g);			}		//#endif		}	}