How can I capture and modify the value of the key pressed before it will be displayed in the TextArea ?
Created May 4, 2012
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).