What is the proper setup of a fullscreen Java game that uses active rendering?
Examples at http://docs.oracle.com/javase/tutorial/extra/fullscreen/example.html do not defer rendering to the EDT. What's the reason for this? Some people tend to say that updates to the GUI should be solely done in the EDT.
E.g.: Is it possible to perform active rendering in Java Swing without being on the EDT?
Is this only true when the GUI is also created in the EDT?
After all I would prefer using the main thread for the game loop and the rendering.
How can events be handled in this environment? Would it be wise to put them in a thread safe queue and process the events in the queue at the proper place in the game loop?