Overview | Methods | This Package | All Packages
This method is called when the Graphics object initializes a handle to device context (HDC) at object startup.
Syntax
protected void setHandle( int dc )
Parameters
dc
The handle to a Win32 device context.
Remarks
If you extend the Graphics object, you may override this method. However, your method override should always include a call to super.setHandle.
In addition, the dc parameter to this method should never be null. To clear existing handles, use the dispose method.
See Also getHandle