Frees the resources allocated by this object.
protected void finalize()
A call to finalize is equivalent to a call to the Palette object's dispose method.