How can I use an ActionListener to perform an action on mouse release/mouse up? <p>I have a JButton with an attached ActionListener. The action is performed when the button is clicked, but I want the action to be performed after the click (ie when the mouse button is released). How can I do this?</p>