1. Home
  2. Computing & Technology
  3. Java

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!

Explore Java
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Java
  4. Tutorials
  5. Open the HTML Page

©2009 About.com, a part of The New York Times Company.

All rights reserved.