Generally-useful command line component with history and keybindings.
Adds an ActionListener to the button.
ActionListener to be added
Removes an ActionListener from the button.
If the listener is the currently set Action
for the button, then the Action
is set to null.