Iterator it = iterator(); while (it.hasNext()) { ((ComponentListener) it.next()).componentHidden(e); }
    public void componentHidden(ComponentEvent e) {        Component source = (Component) e.getSource();        if (source == dialog || source == iFrame) {            cleanUp();        }        Iterator it = iterator();        while (it.hasNext()) {            ((ComponentListener) it.next()).componentHidden(e);        }    }