-
Bug
-
Resolution: Duplicate
-
P4
-
None
The Java Access Bridge provided support for F keys and control keys used as accelerators. The key constants need to be added to AccessBridgePackages.h. Bit 8 (0 based) in the modifier field indicates and FKey has been pressed and Bit 9 indicates a control key has been pressed. In the first case the character field contains the F key pressed (1-24) and in the second case the character field contains the control key:
case KeyEvent.VK_BACK_SPACE:
case KeyEvent.VK_DELETE:
case KeyEvent.VK_DOWN:
case KeyEvent.VK_END:
case KeyEvent.VK_HOME:
case KeyEvent.VK_INSERT:
case KeyEvent.VK_KP_DOWN:
case KeyEvent.VK_KP_LEFT:
case KeyEvent.VK_KP_RIGHT:
case KeyEvent.VK_KP_UP:
case KeyEvent.VK_LEFT:
case KeyEvent.VK_PAGE_DOWN:
case KeyEvent.VK_PAGE_UP:
case KeyEvent.VK_RIGHT:
case KeyEvent.VK_UP:
Those constants are from
http://docs.oracle.com/javase/7/docs/api/constant-values.html#java.awt.event.KeyEvent.CHAR_UNDEFINED
Suggested names of the modifier bits are ACCERSSIBLE_FKEY_KEYSTROKE and ACCESSIBLE_CONTROLKEY_KEYSTROKE.
case KeyEvent.VK_BACK_SPACE:
case KeyEvent.VK_DELETE:
case KeyEvent.VK_DOWN:
case KeyEvent.VK_END:
case KeyEvent.VK_HOME:
case KeyEvent.VK_INSERT:
case KeyEvent.VK_KP_DOWN:
case KeyEvent.VK_KP_LEFT:
case KeyEvent.VK_KP_RIGHT:
case KeyEvent.VK_KP_UP:
case KeyEvent.VK_LEFT:
case KeyEvent.VK_PAGE_DOWN:
case KeyEvent.VK_PAGE_UP:
case KeyEvent.VK_RIGHT:
case KeyEvent.VK_UP:
Those constants are from
http://docs.oracle.com/javase/7/docs/api/constant-values.html#java.awt.event.KeyEvent.CHAR_UNDEFINED
Suggested names of the modifier bits are ACCERSSIBLE_FKEY_KEYSTROKE and ACCESSIBLE_CONTROLKEY_KEYSTROKE.
- relates to
-
JDK-8028241 Java Access Bridge: F key shortcuts not working if Ctrl, Alt, Shift modifier used
- Resolved