ChoiceItem item = (ChoiceItem) this.itemsList.get( elementNum ); item.setText( stringPart ); if (imagePart != null) { item.setImage(imagePart); } if (elementStyle != null) { item.setStyle(elementStyle); }                if (this.isInitialised) { this.isInitialised = false; repaint(); }
set( elementNum, stringPart, imagePart, null );
	public void set(int elementNum, String stringPart, Image imagePart, Style elementStyle )	{		ChoiceItem item = (ChoiceItem) this.itemsList.get( elementNum );		item.setText( stringPart );		if (imagePart != null) {			item.setImage(imagePart);		}		if (elementStyle != null) {			item.setStyle(elementStyle);		}				//#if polish.i18n.useDynamicTranslations//		if (elementNum == this.focusedIndex) {//				if (this.selectCommand == List.SELECT_COMMAND ) {//					String selectLabel = Locale.get("polish.command.select");//					if ( selectLabel != List.SELECT_COMMAND.getLabel()) {//						List.SELECT_COMMAND = new Command( selectLabel, Command.ITEM, 3 );//						removeCommand(this.selectCommand);//						this.selectCommand = List.SELECT_COMMAND;//						addCommand( this.selectCommand );//					}//				}//		}		//#endif		if (this.isInitialised) {			this.isInitialised = false;			repaint();		}	}