Changes the parent of the widget to be the one provided if
the underlying operating system supports this feature.
Returns <code>true</code> if the parent is successfully changed.
@param parent the new parent for the control.
@return <code>true</code> if the parent is changed and <code>false</code> otherwise.
@exception IllegalArgumentException <ul>
<li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
<li>ERROR_NULL_ARGUMENT - if the parent is <code>null</code></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>
Changes the parent of the widget to be the one provided if the underlying operating system supports this feature. Returns <code>true</code> if the parent is successfully changed.
@param parent the new parent for the control. @return <code>true</code> if the parent is changed and <code>false</code> otherwise.
@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> <li>ERROR_NULL_ARGUMENT - if the parent is <code>null</code></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>