Simplify the code using KeyAdapter instead of KeyListener method
Merge pull request #32 from valib/master-simplify-code

Simplify the code using KeyAdapter instead of KeyListener method