Label.setImage

Sets the receiver's image to the argument, which may be null indicating that no image should be displayed.

@param image the image to display on the receiver (may be null)

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the image 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>

class Label
void
setImage

Meta