Button.setActionCommand

Button.setActionCommand

Class Overview | Class Members | This Package | All Packages

Syntax
public void setActionCommand( String command )
Parameters
command
A string used to set the button's action command.
Description
Sets the command name for the action event fired by this button. By default this action command is set to match the label of the button.

See Also
ActionEvent