Retrieves the shortcut key that is associated with this menu item.
public int getShortcut()
Returns the shortcut key. This value is one of the enumeration constants defined in the Shortcut class.
See Also setShortcut