/** * Restores the contents of the given Image and then returns the new SurfaceData object in use by * the Image's SurfaceManager. */ public static SurfaceData restoreContents(Image img) { SurfaceManager sMgr = SurfaceManager.getManager(img); return sMgr.restoreContents(); }