This requires arrays and ArrayLists (During Chapter 8 of Hostmann book is a good time). Reloading will start a new game. To make your own version, I posted some starter code at my apcs wiki
<applet code="Connect4GameApplet.class" archive="Connect4.jar" width=500 height=500> </applet>or if you made a package "connect4" like I did:
<applet code="connect4.Connect4GameApplet.class" archive="Connect4.jar" width=500 height=500> </applet>