0

I'm currently working on a small game in Java (Swing). The avatar is controlled with the arrow keys. The main menu contains a JComboBox. If you don't select something from it the avatar is controllable via the arrow keys. However if you select something new, the keyPressed(KeyEvent e) won't react on any key press. What am I missing with the JComboBox? Thanks in advance.

Silent Tree
  • 987
  • 1
  • 7
  • 16

0 Answers0