I intend to write a program where I will give the user a choice to choose from a 8\*8 matrix. Because my reputation is below 10 I can not include an image but rest assured its just a normal 8\*8 matrix. I plan to visualize it in my Java program with 8\*8=64 radio buttons. the user can choose only one radio button at a time so it means all 64 buttons will be of the same button group. 

Now, how can I manage the action listeners? it is impossible (really tiresome and boring) to set up 64 individual action listener for each of the 64 radio buttons. since all 64 radio buttons are in the same button group, is there any way I can set up **only one** event listener to check which button is selected?

If any of my given info is unclear then please let me know :) 

**PS**: I am using Netbeans design tools