root = new DefaultMutableTreeNode("frameset");
root = new FrameNode(); root.setUserObject("frameset");
    public FrameTreeView(FrameModel frameModel) {        super();        init();        frameMap = new HashMap();        this.frameModel = frameModel;        root = new DefaultMutableTreeNode("frameset");        treeModel = new DefaultTreeModel(root);        tree.setModel(treeModel);        Icon frameIcon = IconFactory.getIcon(IconFactory.FRAME_ICON);        Icon relationIcon = IconFactory.getIcon(IconFactory.RELATION_ICON);        tree.setCellRenderer(new FrameRenderer(frameIcon, relationIcon));        frameModel.addAddedFramesListener(this);        frameModel.addChangedFramesListener(this);        frameModel.addRemovedFramesListener(this);    }