Sets the application defined property of the receiver
with the specified name to the given argument.
<p>
Applications may have associated arbitrary objects with the
receiver in this fashion. If the objects stored in the
properties need to be notified when the display is disposed
of, it is the application's responsibility provide a
<code>disposeExec()</code> handler which does so.
</p>
@param key the name of the property
@param value the new value for the property
@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>
Sets the application defined property of the receiver with the specified name to the given argument. <p> Applications may have associated arbitrary objects with the receiver in this fashion. If the objects stored in the properties need to be notified when the display is disposed of, it is the application's responsibility provide a <code>disposeExec()</code> handler which does so. </p>
@param key the name of the property @param value the new value for the property
@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>
@see #getData(String) @see #disposeExec(Runnable)