java.awt.Graphics.finalize could not be converted 

In the Java language, this method disposes of a graphics context when it is no longer referenced. It is automatically called after an object becomes inaccessible, unless the object is exempt from finalization by a call to the SuppressFinalize method.

To correct this error

  • Use the System.Object.Finalize method.

See Also