I have a 6 X 6 grid of JButtons, layed out with this code:

PHP Code:
btnGrid = new JButton[6][6];
      for (
int i=0i<6i++) {
         for (
int j=0j<6j++) {
            
btnGrid[i][j] = new JButton();
            
btnGrid[i][j].addActionListener(this);         
            
pCentre.add(btnGrid[i][j]);
         }
      } 
I want to know if the ActionListener can pickup when any button in the array is clicked rather then just a specific button

Thanks....