if (source == dialog || source == iFrame) {
if (display == source) {
    public void componentHidden(ComponentEvent e) {        Iterator it = iterator();        while (it.hasNext()) {            ((ComponentListener) it.next()).componentHidden(e);        }        // We need to do this after componentHidden notifications,        // otherwise the component never finds out it's been hidden,        // it gets removed as a ComponentListener at cleanup.        Component source = (Component) e.getSource();        if (source == dialog || source == iFrame) {            cleanUp();        }    }