System.gc();
catch ( Exception e ) { e.printStackTrace(); } finally { Runtime rt = Runtime.getRuntime(); if ( DEBUG ) debug("free mem before gc: " + rt.freeMemory()); rt.gc(); if ( DEBUG ) debug("free mem after gc: " + rt.freeMemory()); }
    public void destroy() {        SFrame f = getFrame();        if ( f != null ) {            f.getContentPane().removeAll();            f.getOptionPaneContainer().removeAll();        }        System.gc();    }