How can I capture and modify the value of the key pressed before it will be displayed in the TextArea ?
Created Feb 19, 2001
Sandip Chitale
- override processKeyEvent()
- recreate another KeyEvent with all parameters same as the original KeyEvent except for the value.
- call consume() on the original KeyEvent.
- now call super.processKeyEvent(newKeyEvent).