I have a class that contains a JButton. This can't be changed.
The problem is this: The actionListener calls getSource() and gets the JButton, not the container class.
Can I change what getSource retrieves, before the actionListener is added? OR can JButtons have a variable reference to its container?
I can't make a class extend a JButton. It caused bugs for drawing purposes... story of my week.