public DisplayWindow(File xmlFile) {
public DisplayWindow(FrameModel frameModel, File xmlFile) {
    public DisplayWindow(File xmlFile) {        super("");        tabbedPane = new JTabbedPane();        display = new Display(xmlFile);        Component controlPanel = display.getControlPanel();        JPanel displPanel = new JPanel(new BorderLayout());        displPanel.add(display, BorderLayout.CENTER);        displPanel.add(controlPanel, BorderLayout.SOUTH);        containerView = new ContainerTreeView();        frameView = new FrameTreeView();        tabbedPane.addTab("Graphic", displPanel);        tabbedPane.addTab("View Tree", containerView);        tabbedPane.addTab("Frames", frameView);        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();    }