this.choicesContainer.clear();
	private void openChoices( boolean open ) {		//#debug		System.out.println("open choices: " + open + ", have been opened already:" + this.isOpen);		if (open) {			if (this.parent instanceof Container) {				Container parentContainer = (Container) this.parent;				if ( parentContainer.enableScrolling ) {					int availableWidth = this.itemWidth - (this.marginLeft + this.marginRight);					int choicesHeight = this.choicesContainer.getItemHeight( availableWidth, availableWidth );					int choicesBottomY = this.contentY + this.contentHeight + this.paddingVertical + choicesHeight;					//#debug					System.out.println("choicesHeight " + choicesHeight + ", choicesBottom=" + choicesBottomY + ", parent.yBottom=" + parentContainer.yBottom  );					if ( choicesBottomY > parentContainer.yBottom ) {						// try to scroll up this item, so that the user sees all matches:						int yOffsetAdjustment = Math.min( this.yTopPos - parentContainer.yTop, choicesBottomY - parentContainer.yBottom );						this.choicesYOffsetAdjustment += yOffsetAdjustment;						//#debug						System.out.println("Adjusting yOffset of parent by " + yOffsetAdjustment );						parentContainer.targetYOffset -= yOffsetAdjustment;						//#if polish.scroll-mode							if (!parentContainer.scrollSmooth) {								parentContainer.yOffset = parentContainer.targetYOffset;							}						//#endif											} else {						int newYOffsetAdjustment = Math.max( this.choicesYOffsetAdjustment - ( parentContainer.yBottom - choicesBottomY), 0 );						int difference = this.choicesYOffsetAdjustment - newYOffsetAdjustment;						//#debug						 System.out.println("Re-Adjusting yOffset of parent from " + this.choicesYOffsetAdjustment + " over " +  difference + " to " + (this.choicesYOffsetAdjustment - difference ) );						this.choicesYOffsetAdjustment -= difference;						parentContainer.targetYOffset += difference;						//#if polish.scroll-mode							if (!parentContainer.scrollSmooth) {								parentContainer.yOffset = parentContainer.targetYOffset;							}						//#endif											}				}			}					} else {			if (this.parent instanceof Container) {				Container parentContainer = (Container) this.parent;				parentContainer.targetYOffset += this.choicesYOffsetAdjustment;				this.choicesYOffsetAdjustment = 0;				//#if polish.scroll-mode					if (!parentContainer.scrollSmooth) {						parentContainer.yOffset = parentContainer.targetYOffset;					}				//#endif			}					}		this.isOpen = open;	}