读书人

Java JDK中问号“?”键和双引号“quot;

发布时间: 2012-02-01 16:58:19 作者: rapoo

Java JDK中问号“?”键和双引号“"”键对应的VK码和常量值分别为多少?
如题....




[解决办法]
" KeyEvent.VK_QUOTEDBL (152)

? 没有对应的VK

引用Not all characters have a keycode associated with them. For example, there is no keycode for the question mark because there is no keyboard for which it appears on the primary layer.

读书人网 >J2SE开发

热点推荐