Back to index
|CommandButton (Command command)|
|Initializes the button with the given command. |
|void||actionPerformed (ActionEvent e)|
|Executes the command. |
A Command enabled button.
Clicking the button executes the command.
Executes the command.
If the command's name was changed as a result of the command the button's label is updated accordingly.