KeyEvent.KeyEvent

KeyEvent.KeyEvent

Class Overview | Class Members | This Package | All Packages

Syntax 1
public KeyEvent( Component source, int id, long when, int modifiers, int keyCode, char keyChar )
Parameters
source
the object where the event originated
Description
Constructs a KeyEvent object with the specified source component, type, modifiers, and key.



Syntax 2
public KeyEvent( Component source, int id, long when, int modifiers, int keyCode )