Code example for KeyEvent

Methods: getEventTime