Download the JDK
Search the Tutorials
Hide the TOC
Trail: Deployment
Lesson: Applets
Applets
Getting Started with Applets
Importing Classes and Packages for Applets
Defining an Applet Subclass
The Life Cycle of an Applet
Methods for Milestones
Methods for Drawing and Event Handling
Methods for Adding UI Components
What Applets Can and Can't Do
Taking Advantage of the Applet API
Finding and Loading Data Files
Displaying Short Status Strings
Displaying Documents in the Browser
Sending Messages to Other Applets
Playing Sounds
Defining and Using Applet Parameters
Deciding Which Parameters to Support
Writing the Code to Support Parameters
Giving Information about Parameters
Using the APPLET Tag
Practical Considerations When Writing Applets
Security Restrictions
Creating a User Interface
Creating a GUI
Displaying Diagnostics to the Standard Output and Error Streams
Getting System Properties
Threads in Applets
Threads in Applets: Examples
Working with a Server-Side Application
A Simple Network Client Applet
Using a Server to Work Around Security Restrictions
Finishing an Applet
Before You Ship that Applet
The Perfectly Finished Applet
Deploying Applets
General Deployment Considerations
Using the applet Tag
Using the object Tag
Using the embed Tag
Deploying Applets in a Mixed-Browser Environment
Solving Common Applet Problems
Questions and Exercises
Home Page > Deployment > Applets
Deploying Applets

> This section explains to HTML authors how and when to use the `applet`, `object`, and `embed` tags to add Java applets to Web pages, and provides guidelines for deploying applets on the Internet and Intranets, and for use with different browsers.

### General Deployment Considerations

> This section discusses deploying applets for different browsers and on the Internet vs. an Intranet.

### Using the applet Tag

> You use the `applet` tag to deploy applets to a multi-browser environment.

### Using the object Tag

> You use the `object` tag to deploy applets that are to be used only with Internet Explorer.

### Using the embed Tag

> You use the `embed` tag to deploy applets that are to be used only with the Mozilla family of browsers.

### Deploying Applets in a Mixed-Browser Environment

> This section explains how to use HTML or JavaScript to deploy applets in a mixed-browser environment.

Previous page: The Perfectly Finished Applet
Next page: General Deployment Considerations