How do I handle multiple key press in java?
I'm trying to write a game and need to handle multiple keys presses at once.
When I'm holding a key (let's say to move forward) and then I hold another key (eg: to turn left), the new key is detected but the old pressed key isn't being detected anymore.