Display.setSynchronizer

Sets the synchronizer used by the display to be the argument, which can not be null.

@param synchronizer the new synchronizer for the display (must not be null)

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the synchronizer is null</li> </ul> @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> <li>ERROR_FAILED_EXEC - if an exception occurred while running an inter-thread message</li> </ul>

class Display
void
setSynchronizer

Meta