I\'m trying to get a simple JFrame with a single button to fire an event when any of these events happen:
What you can (and probably should) do is create an AbstractAction. You can use the AbstractAction both for your ActionMap as well as for clicking (do JButton.setAction(...))