Sets a boolean value indicating whether this control has captured the mouse.
public final void setCapture( boolean value )
value
Set to true if this control has captured the mouse; otherwise, set to false.
When a control has captured the mouse, it receives mouse input whether or not the cursor is within its borders.
See Also getCapture