Retrieves a boolean value that indicates whether the shortcut associated with this menu item should be displayed.
public boolean getShowShortcut()
Returns true if the shortcut will be displayed; otherwise, returns false. The default value is true.
See Also setShowShortcut