treePaths = new ArrayList();
    public ContainerTreeView(FrameModel frameModel, Display display) {        super();        containerToNodeMap = new HashMap();        this.display = display;        this.frameModel = frameModel;        frameTableModel = new FrameTableModel();        shapeModel = new ShapeGraphicTableModel();        cellRenderer = new ShapeTableCellRenderer(false, shapeModel);        frameCellRenderer = new FrameTableCellRenderer(false, true, frameTableModel);        Icon containerIcon = IconFactory.getIcon(IconFactory.CONTAINER_ICON);        Icon componentIcon = IconFactory.getIcon(IconFactory.COMPONENT_ICON);        Icon prototypeIcon = IconFactory.getIcon(IconFactory.CONTAINER_PROTOTYPE_ICON);        Icon frameIcon     = IconFactory.getIcon(IconFactory.FRAME_ICON);        tree.setCellRenderer(new ContainerRenderer(containerIcon, componentIcon, prototypeIcon, frameIcon));        root =  createNode(display.getRootContainer());        treeModel = new DefaultTreeModel(root);        tree.setModel(treeModel);        buildTree(null, display.getRootContainer());        tree.expandPath(new TreePath(root));        frameModel.addGraphicChangeListener(this);        //frameModel.addAddedFramesListener(this);        //frameModel.addChangedFramesListener(this);        //frameModel.addRemovedFramesListener(this);        //frameModel.addTransitionListener(this);    }