f_shell.open();
/*
* Run the benchmarks in a thread outside the SWT UI thread.
*/
demo.f_benchmarkThread = new TimingSourceResolutionThread(demo, new ScheduledExecutorFactory(), new SWTTimerFactory(display));
demo.f_benchmarkThread.start();
while (!f_shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();