containerView = new ContainerTreeView(frameModel, display); frameView = new FrameTreeView(frameModel); frameSnapshotView = new FrameSnapshotView(frameView, containerView);
    public DisplayWindow(FrameModel frameModel, URL xmlFile,			 ThreadService tsvc)    {        super("");        this.frameModel = frameModel;        //frameModel.setDisplayWindow(this);        tabbedPane = new JTabbedPane();        display = new Display(frameModel, xmlFile, tsvc);        Component controlPanel = display.getControlPanel();        JPanel displPanel = new JPanel(new BorderLayout());        displPanel.add(display, BorderLayout.CENTER);        displPanel.add(controlPanel, BorderLayout.SOUTH);        //containerView = new ContainerTreeView(frameModel, display);        //frameView = new FrameTreeView(frameModel);        //frameSnapshotView = new FrameSnapshotView(frameView);        tabbedPane.addTab("Graphic", displPanel);        //tabbedPane.addTab("View Tree", containerView);        //tabbedPane.addTab("Frames", frameView);        //tabbedPane.addTab("Snapshots", frameSnapshotView);        ViewConfigParser.WindowSpec w = display.getWindowSpec();        String title = w.getTitle();        Dimension d = w.getSize();        addWindowListener(new WindowAdapter() {            public void windowClosing(WindowEvent e) {System.exit(0);}            public void windowDeiconified(WindowEvent e) {  /*display.startClock(); display.animating.start();*/ }            public void windowIconified(WindowEvent e) {                /* if (display.animating != null) {                display.animating.stop();                }                display.bimg = null;; */            }        });        getContentPane().setLayout(new BorderLayout());        getContentPane().add(tabbedPane, BorderLayout.CENTER);        //getContentPane().add(controlPanel, BorderLayout.SOUTH);        pack();        setSize(d);        setVisible(true);        //display.addChangeListener(this);        display.reset();        //ViewConfigWriter writer = new ViewConfigWriter();        //writer.generate(this, "testingSpec.xml", 5, 5);    }