1. Computing & Technology

Discuss in my forum

Building Your First Java Applet

By , About.com Guide

9 of 10

Open the HTML Page
A Simple Java Applet

Microsoft product screen shot(s) reprinted with permission from Microsoft Corporation.

The last step is the best one; we get to see the Java applet in action. Use Windows Explorer to navigate to the directory where the HTML page is stored. For example, my page is stored in “C:\Documents and Settings\Paul\My Documents\Java\Applets” with my other Java applet files.

Double-click on the MyWebpage.html file. Your default browser will open, and the Java applet will run.

Congratulations, you have created your first Java applet!

©2012 About.com. All rights reserved.

A part of The New York Times Company.