I am working on an assignment to create a connect four game using java. I have my grid set up with an array of JButtons but I am having trouble with where the player places their piece. I am using an actionPerformed method for the buttons and have a little bit of a loop started but its seems too complicated and I am a bit lost. Anyone have any tips?