Java Code Examples for org.eclipse.swt.widgets.Display.timerExec()

The following are Jave code examples for showing how to use timerExec() of the org.eclipse.swt.widgets.Display class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: RxSWT   File:   Source Code and License Vote up 5 votes
private static void executeRunnable(Display display, long delay, TimeUnit unit, ScheduledRunnable scheduled) {
	Runnable asycRun = scheduled;
	if (0L < delay && delay < Integer.MAX_VALUE) {
		asycRun = () -> display.timerExec((int) unit.toMillis(delay), scheduled);