Re: Referencing All Parts of an Array

Best to get rid of that if and to just to iterate through the array and see if the source is any of the buttons. But then again, if you only add this ActionListener to the button array and to nothing else, then you'll already know that the source is one of the buttons.