DataObject object;
Object object;
    public void visit(ImageNode node)    {        long id = ((ImageData) node.getHierarchyObject()).getId();        Iterator i = nodes.iterator();        DataObject object;        while (i.hasNext()) {        	object = (DataObject) i.next();        	if (object instanceof ImageData) {        		if (object.getId() == id) {        			node.setHierarchyObject(object);        			node.setNodeDecoration();        			node.repaint();        		}        	}		}    }