That's okay, I take payment in the form of postcards from wherever you live. Eventually somebody from here will send me one!
Type: Posts; User: KevinWorkman
That's okay, I take payment in the form of postcards from wherever you live. Eventually somebody from here will send me one!
That's fine, but then why are you only using one ActionListener? Give each button its own, that way you don't need to worry about checking the source. Anonymous inner classes might be useful here.
Why are you doing it this way? Why are you not keeping track of each JButton? Why are you only using one ActionListener? Doing either of those things is fine, but doing both doesn't make sense....