|
These code examples and other materials are subject to Sun Microsystems, Inc. Legal Terms Handling Key Presses You can get the key that was pressed either as a key character (which is a Unicode character) or as a key code (a special value representing a particular key on the keyboard).
Examplets provided by permission of the publisher, Addision-Wesley, and Author Patrick Chan. | ||||
|
| ||||||||||||