I started this thread to discuss the way java handles user input ( keyboard and mouse ).
I think the render and game physics thing was discussed in other threads many times, so how do u handle keyboard input ?
When i use jdk 1.4.2 i have no choice i must handle all keyboard and mouse events in a separate thread ( i hate it ).
I was thinking about a own event loop which is filled by AWT Event Thread ( when i get keyboard or mouse event ) and this event queue is synced with main render/game physics loop where i can fetch one event from queue and handle it proper.
BUT is it worth all the effort ? Whats your opinion ? Do we need DirectInput for Java ???