items[elementNum].setImage(imagePart);  repaint();
  public void set(int elementNum, String stringPart, Image imagePart)	{		if (elementNum < 0 || elementNum >= numOfItems) {			throw new IndexOutOfBoundsException();		}		if (imagePart != null && imagePart.isMutable()) {			throw new IllegalArgumentException();		}		if (stringPart == null) {			throw new NullPointerException();		}		items[elementNum].setText(stringPart);  }