title: Replacing an old ActionListener for a button with a new one
body: <p>I was wondering (if possible) how I could update what a JButton's ActionListener performs. I need to keep one button throughout my whole program, but change what it does depending on the current situation.</p>