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

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -