J2EEOnline
GofPatterns OOPortal
prev next
Course navigation
Compiling a Java applet
Objective:Compile a Java applet using the Java compiler.
Exercise grading
This exercise is worth a total of 1 point.
Exercise instructions
Use the Java compiler to compile the TicTacToe applet. Keep in mind that the compiler must be run from a command prompt, such as the MS-DOS Prompt in Windows.
We provide TicTacToe.html in the download file available from the Resources page. This Web page also ships with the Java 2 SDK as example1.html.
After compiling the applet, test it out by opening the Web page TicTacToe.html in a Web browser.

Click the Submit button after completing the exercise and the system will award you full credit.