KeyEvent.getKeyCode
Class Overview | Class Members | This Package | All Packages
Syntax
public int getKeyCode()
Description
Returns the integer key-code associated with the key in this event. For KEY_TYPED events, keyCode is VK_UNDEFINED.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Class Overview | Class Members | This Package | All Packages
public int getKeyCode()
Returns the integer key-code associated with the key in this event. For KEY_TYPED events, keyCode is VK_UNDEFINED.