java - getting keytyped from the keycode -


i have send key code in hexadecimal function job tell key's code that. example key code in java control key in hexadecimal form 0x11. there way can directly key typed ? otherwise have use switch statement. don't want consider it.i think not smart way this.

use java.awt.event.keyevent.getkeytext(int keycode). according javadoc: it

returns string describing keycode, such "home", "f1" or "a".


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -