tsm.putImageData((Image)iter.next());
tsm.putImageData((ImageData)iter.next());
    public void loadInto(DatasetData data, ThumbnailSourceModel tsm)    {        if(data == null || tsm == null)        {            // do nothing            return;        }                List imageList;        try        {            imageList = data.getImages();        }        catch(DataException de)        {            fillInDatasetDTO(data);            imageList = data.getImages();        }                // now, suck the images into the TSM        for(Iterator iter = imageList.iterator(); iter.hasNext();)        {            tsm.putImageData((Image)iter.next());        }        // OK, now the image data will have a data model backing, but        // perhaps no thumbnails.    }