Java Technology  «Prev 

Java Applet Viewer Text version

Running the TicTacToe applet
Running the TicTacToe applet

Appletviewer

The actual name of the AppletViewer program.

TicTacToe.html

The name of the Web page containing the TicTacToe applet. Provided as the only argument to the AppletViewer.

To run the applet, you have two choices. You can use the applet viewer, a program that is included with the Java Software Development Kit from Oracle. You simply start the applet viewer, giving it the name of the HTML file that contains your applets:
TicTacToe.html 

The applet viewer only shows the applet, not the HTML text (see An Applet in the Applet Viewer). You view applets with the applet viewer or a Java-enabled browser.
You can also show the applet inside any Java 2 enabled web browser, such as Chrome or Mozilla.
(If you use Internet Explorer, you probably need to configure it. By default, Microsoft supplies either an outdated version of Java or no Java at all.
An Applet in a Web Browser shows the applet running in a browser. As you can see, both the text and the applet are displayed.