Browser browser = model.getBrowser(); browser.addPropertyChangeListener(Browser.POPUP_POINT_PROPERTY, this); browser.addPropertyChangeListener( Browser.THUMB_SELECTED_PROPERTY, this); view.setBrowserView(browser.getUI()); view.setViewTitle();
setBrowserView(); break; case HiViewer.READY: if (historyState == HiViewer.LOADING_HIERARCHY) setBrowserView();
    public void stateChanged(ChangeEvent ce)    {        int state = model.getState();        switch (state) {            case HiViewer.LOADING_THUMBNAILS:                Browser browser = model.getBrowser();                browser.addPropertyChangeListener(Browser.POPUP_POINT_PROPERTY,                                               this);                browser.addPropertyChangeListener(                        Browser.THUMB_SELECTED_PROPERTY, this);                 view.setBrowserView(browser.getUI());                view.setViewTitle();                break;            case HiViewer.DISCARDED:                view.setVisible(false);                view.dispose();                break;        }    }