Constructors

public AbstractAction( ) 
public AbstractAction(String name) 
public AbstractAction(String name, Icon icon) 

The constructors for the AbstractAction object can be used to set the name and icon hashtable properties of the action under the NAME or SMALL_ICON keys, respectively.