imageList = display.getImageList (new Point (bounds.width, bounds.height));
imageList = display.getImageList (bounds.width, bounds.height);
int imageIndex (Image image) {	if (image == null) return OS.I_IMAGENONE;	if (imageList == null) {		Rectangle bounds = image.getBounds ();		imageList = display.getImageList (new Point (bounds.width, bounds.height));		int index = imageList.indexOf (image);		if (index == -1) index = imageList.add (image);		int hImageList = imageList.getHandle ();		/*		* Bug in Windows.  Making any change to an item that		* changes the item height of a table while the table		* is scrolled can cause the lines to draw incorrectly.		* This happens even when the lines are not currently		* visible and are shown afterwards.  The fix is to		* save the top index, scroll to the top of the table		* and then restore the original top index.		*/		int topIndex = getTopIndex ();		setRedraw (false);		setTopIndex (0);		OS.SendMessage (handle, OS.LVM_SETIMAGELIST, OS.LVSIL_SMALL, hImageList);		setTopIndex (topIndex);		fixCheckboxImageList ();		setRedraw (true);		return index;	}	int index = imageList.indexOf (image);	if (index != -1) return index;	return imageList.add (image);}