Hi
 
I would like to have a key Listener like that:
Only if I press the Key "ALT" together with the Key "Numlock 7"  that it is possible to go into this "if" part but it does not work. 
Why?
 
  if (e.getKeyCode()==KeyEvent.VK_NUMPAD7 && e.getKeyCode()==KeyEvent.VK_ALT ) {
  ....
  }
 
 
 

 

Patrik

 

E-mail mailto: [EMAIL PROTECTED]

 

 

Reply via email to