Implemented ActionListener. Set frame to listen to buttons, etc.