private static ChoiceItem[] buildChoiceItems(String[] stringElements, Image[] imageElements, int choiceType, Style style)
protected static ChoiceItem[] buildChoiceItems(String[] stringElements, Image[] imageElements, int choiceType, Style style)
	private static ChoiceItem[] buildChoiceItems(String[] stringElements, Image[] imageElements, int choiceType, Style style)	{		//#ifndef polish.skipArgumentCheck			if (imageElements != null && imageElements.length != stringElements.length) {				//#ifdef polish.verboseDebug					throw new IllegalArgumentException("imageElements need to have the same length as the stringElements.");				//#else					//# throw new IllegalArgumentException();				//#endif			}		//#endif		ChoiceItem[] items = new ChoiceItem[stringElements.length];		for (int i = 0; i < stringElements.length; ++i) {			Image img = null;			if (imageElements != null) {				img = imageElements[i];			}			items[i] = new ChoiceItem( stringElements[i], img, choiceType, style );		}		return items;	}