Read the API doc for KeyEvent. Go to this site and find KeyEvent
Java Platform SE 6
Type: Posts; User: Norm
Read the API doc for KeyEvent. Go to this site and find KeyEvent
Java Platform SE 6
@ serdar
if(event.getKeyCode()==32)
That code can be made to be self documentating. When I read 32 it has no meaning.
What is the variable that defines the value for that key press? Use that...