w = new ThumbWin((JFrame) node.getTopLevelAncestor(), full, ho);
w = new ThumbWin((JFrame) node.getTopLevelAncestor(), full, ho, model, node);
    private static TinyDialog getWindowFor(ImageNode node)    {        ImageData ho = (ImageData) node.getHierarchyObject();        final Integer id = new Integer(ho.getId());        TinyDialog w = (TinyDialog) windows.get(id);        if (w == null) {            Thumbnail prv = node.getThumbnail();            BufferedImage full = prv.getFullScaleThumb();            if (full != null) {                //NOTE: Right now we pre-fetch all images so full != null                 //unless they click on node at init time, when the thumbs                //are being loaded.                w = new ThumbWin((JFrame) node.getTopLevelAncestor(), full, ho);            //TODO: We assume getFullScaleThumb returns a *pre-fetched* image.            //If this is not the case and we load async, then we need a            //callback handler.                            w.addPropertyChangeListener(TinyDialog.CLOSED_PROPERTY,                    new PropertyChangeListener() {                        public void propertyChange(PropertyChangeEvent pce)                        {                            windows.remove(id);                        }                    });                windows.put(id, w);                w.setTitle(node.getTitle());            }        }        return w;    }