KeyEvent.KeyEvent
Class Overview | Class Members | 
  This Package | 
All Packages
 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.
  
 public KeyEvent( Component source,
                 int id,
                 long when,
                 int modifiers,
                 int keyCode )