Use the toolkit's getMenuShortcutKeyMask function instead of CTRL_MASK.
Use the toolkit's getMenuShortcutKeyMask function instead of CTRL_MASK.

On OS X, the standard shortcut key is command instead of ctrl.  If you use the getMenuShortcutKeyMask function instead of ActionEvent.CTRL_MASK, then keyboard shortcuts will work as expected on OS X.

deathmarine/Luyten