while (it.hasNext()) ((SFrame)it.next()).getContentPane().removeAll();
while (it.hasNext()) { SContainer container = ((SFrame)it.next()).getContentPane(); if (container != null) container.removeAll(); }
    protected void destroy() {        Iterator it = frames.iterator();        while (it.hasNext())            ((SFrame)it.next()).getContentPane().removeAll();        extManager = null;        reloadManager = null;        cgManager = null;    }