Creates a KeyCode for the "menu shortcut" + alt + the key passed in. By default, the menu shortcut is the ctrl key (hence the method name), but platforms might use a different key (like the Apple key on OSX). keyCode should be a KeyEvent.VK_ constant (it can also be a char constant, but this does n
(int keyCode)
| 228 | * but this does not work for all characters, so is not recommended). |
| 229 | */ |
| 230 | public static KeyStroke ctrlAlt(int keyCode) { |
| 231 | return KeyStroke.getKeyStroke(keyCode, CTRL | InputEvent.ALT_MASK); |
| 232 | } |
| 233 | } |
no outgoing calls
no test coverage detected