public BufferedImage getSnapshot ()
    {
        BufferedImage img = new BufferedImage(getWidth(), getHeight(),
            BufferedImage.TYPE_INT_ARGB);
        Graphics2D gfx = img.createGraphics();

        try {
            for (Mirage m : _mirages) {
                m.paint(gfx, 0, 0);
            }
        } finally {
            gfx.dispose();
        }

        return img;
    }
public BufferedImage getSnapshot ( ) { BufferedImage img = new BufferedImage ( getWidth ( ) , getHeight ( ) , BufferedImage . TYPE_INT_ARGB ) ; Graphics2D gfx = img . createGraphics ( ) ; try { for ( Mirage m : _mirages ) { m . paint ( gfx , 0 , 0 ) ; } } finally { gfx . dispose ( ) ; } return img ; }
documentation inheritd from interface Mirage