Created attachment 663 [details]
The included test case raises an exception after timing out.
To reproduce: Run the test case. Wait a second or so. Press any key.
On Linux/X11, the included stack trace appears on stderr.
Created attachment 664 [details]
The same bug doesn't occur on Windows.
This is a documentation issue. It's not safe to call setFullscreen from EDT. See Bug 1100!