MenuItem.setActionCommand

MenuItem.setActionCommand

Class Overview | Class Members | This Package | All Packages

Syntax
public void setActionCommand( String command )
Parameters
command
the action command to be set for this menu item.
Description
Sets the command name of the action event that is fired by this menu item.

By default, the action command is set to the label of the menu item.

See Also
getActionCommand