建议看看javadoc中KeyEvent类。里面有个方法:
boolean isActionKey()
Returns whether the key in this event is an "action" key.
上面三个键对应的keyCode分别是:
static int VK_INSERT
static int VK_NUM_LOCK
static int VK_CAPS_LOCK
boolean isActionKey()
Returns whether the key in this event is an "action" key.
上面三个键对应的keyCode分别是:
static int VK_INSERT
static int VK_NUM_LOCK
static int VK_CAPS_LOCK
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货