Overview | Methods | Fields | This Package | All Packages
Frees the Win32 resources associated with this Brush object.
Syntax
protected void finalize() throws Throwable
Exceptions
Throwable thrown if resources associated with this brush cannot be freed.
Remarks
The resources freed by a call to finalize include only those allocated by the Brush object. For example, if you construct a Brush object based on a Win32 brush handle, a call to finalize does not free that handle. Instead, you must free this handle manually (usually by calling the Win32 DestroyObject function).