Suggest you get yourself a factory method.You would have to check the syntax, and that I have got the names of all the methods right. You can overload that method to your heart’s content. You can use Actions instead of Listeners.
Thanks for your response, that would be a good way to create the buttons, but i have already created them and want to have them in a list of rows.Maybe you missunderstood my question OR i don't understand your reply <--- (which is possible ;) ).
i will eventually need to test quite a few things in each row like if rowA doesn't equal an even number it will be false as well as if there are more than three of the same numbers beside eachother it will be false and so on,
i am thinking this will get really long with all the checks, maybe there is a better solution?