How can I invoke a context menu from the keyboard on Mac OS X?
The default keyboard shortcut for invoking a context menu in NetBeans is defined as Shift-F10 (see KeymapProfileFor60). Since Mac OS X has this shortcut reserved for a system action, the system prefers to call this action rather than display the context menu.
If a user wants to use Shift-F10 for invoking the context menu in NetBeans then it is necessary to switch off the default system shortcut, as follows:
- Open the System Preferences dialog from the main Apple menu
- Select Expose & Spaces
- Select the Expose tab
- In the Application Windows field, change the F10 shortcut to anything else