If you really don't want to learn then I'll tell you the answer
So, how do I add actionlisteners to this buttons?
The code I posted showed how to add an ActionListener to your dynamic buttons as you requested. You have to replace '...' with a object whose class implements the ActionListener interface. Craig already posted code that does this.