All of key events are sent to applications on Text components(TextComponent/
TextFiled/TextArea) without consuming those in text conponents. Application
now can get all key events when key listener is implemented.
Since text components get key events and dispatch text event instead,
text components should consume all of key event. Those shouldn't be sent to applications. This action confuses programmer.
I attached a sample program which gets KeyEvent on the TextField
and print its event type on the command line if it can be.
On runing a sample program, it can get all of key events
when a key is pressed and released. Since TextField dispatchs text events
instead as key input events, keyevent should be consumed and not sent to