Sets a boolean value that indicates whether the shortcut associated with this menu item should be displayed.
public void setShowShortcut( boolean value )
value
Set to true to display the shortcut; otherwise, set to false. The default value is true.
See Also getShowShortcut