Frees all the resources allocated by this object.
public void dispose()
In classes that extend the Image object, a call to this method typically frees only resources allocated by the subclass itself and renders the object unusable.
See Also finalize