public String getActionCommand ()

Gets the command name of the action event that is fired by this menu item.

See also:
java.awt.MenuItem.setActionCommand

Since:  JDK1.1