I have a game made (fullscreen graphics) and im trying to link my menu’s to the game. Just for testing, at the moment ive made a simple swing gui window with a ‘play’ button. When the button is pressed, the game is supposed to start.
This works, and the game does start when i hit ‘play’ but i dont have keyboard focus because i cant press any keys. Ive tried using requestFocus() and all kinds of focusManager stuff and i cant get it.
Im assuming somone out there has done this (probably loads of you) so if one of you could help me, id appreciate it. Thanks.