Causes the <code>run()</code> method of the runnable to
be invoked by the user-interface thread just before the
receiver is disposed. Specifying a <code>null</code> runnable
is ignored.
@param runnable code to run at dispose time.
@exception SWTException <ul>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
<li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
</ul>
Causes the <code>run()</code> method of the runnable to be invoked by the user-interface thread just before the receiver is disposed. Specifying a <code>null</code> runnable is ignored.
@param runnable code to run at dispose time.
@exception SWTException <ul> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> </ul>