I'm trying to make a Connect 4 game and I'm getting it to work, but I think I'm doing it in a very long and hard way. I think that array were created to simplify code like this, but I'm not sure how to use an array for this occasion. Any help is appreciated. Thanks.
Here is the html file for my project and the source code is in the attachment.
<APPLET CODE=Connect4.class WIDTH=1000 HEIGHT=600>