Tic Tac Toe Applet

Information on the Applet

Below is the applet tag HTML code used to embed the applet into this page.

<p class="centered">
<applet
codebase="./bin/"
code="TicTacToeApplet.class"
archive="http://www.ccs.neu.edu/jpt/archive/2.5.0/lib/jpt.jar"
width="380"
height="430" >
</applet>
</p>

The Java .class files from the TicTacToe project have been copied into the subdirectory ./bin/ of this site. This is the directory specified via the codebase attribute.

The applet launches via TicTacToeApplet.class and this is specified via the code attribute.

The online copy of the version of jpt.jar used when the applet was compiled is specified via the archive attribute.

The width of 380 and height of 430 are chosen to be somewhat larger than the dimensions of the TicTacToe panel.