예제 #1
0
 @Override
 public void keyReleased(KeyEvent arg0) {
   input.set(arg0.getKeyCode(), false);
 }
예제 #2
0
 @Override
 public void keyPressed(KeyEvent e) {
   input.set(e.getKeyCode(), true);
 }