Sets the receiver's cursor to the cursor specified by the
argument, or to the default cursor for that kind of control
if the argument is null.
<p>
When the mouse pointer passes over a control its appearance
is changed to match the control's cursor.
</p>
@param cursor the new cursor (or null)
@exception IllegalArgumentException <ul>
<li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
</ul>
@exception SWTException <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
</ul>
Sets the receiver's cursor to the cursor specified by the argument, or to the default cursor for that kind of control if the argument is null. <p> When the mouse pointer passes over a control its appearance is changed to match the control's cursor. </p>
@param cursor the new cursor (or null)
@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>