} else { tileImages[curSlot++] = null;
	private void buildList() {		Tile t;		Vector sets = myMap.getTilesets();		int curSlot = 0;		Iterator itr = sets.iterator();		int totalSlots = sets.size();				itr = sets.iterator();		while(itr.hasNext()) {			TileSet ts = (TileSet) itr.next();			totalSlots+=ts.getTotalTiles();		}		tileImages = new ImageIcon[totalSlots];				itr = sets.iterator();		while(itr.hasNext()) {					TileSet ts = (TileSet) itr.next();			tileImages[curSlot++] = new ImageIcon(setImage);			for (int i = 0; i < ts.getTotalTiles(); i++) {				t = ts.getTile(i);				if (t != null) {					Image img = t.getScaledImage(zoom);					if (img != null) {						tileImages[curSlot] = new ImageIcon(img);					} else {						tileImages[curSlot] = null;					}					curSlot++;				}			}		}	}