Add example of using AbstractAction to implement ActionListener.