1. Computing

Building Your First Java Applet

By , About.com Guide

1 of 10

Introduction
A Simple Java Applet

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

Note: Before you start this tutorial, you must have downloaded and installed the Java SE Development Kit.

Java applets are like Java applications, their creation follows the same three step process of write, compile and run. The difference is, instead of running on your desktop, they run as part of a web page.

The goal in this tutorial is to create a simple Java applet. This can be achieved by following these basic steps:

  1. Write a simple applet in Java
  2. Compile the Java source code
  3. Create a HTML page that references the applet
  4. Open the HTML page in a browser

Related Video
First Time Tag Sale Tips
Export Data From an Excel Sheet to a Word Document

©2013 About.com. All rights reserved.