Download the JDK
Search the Tutorials
Hide the TOC
Trail: Deployment
Lesson: Applets
Section: Finishing an Applet
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
The Perfectly Finished Applet

> The previous page lists some of the ways you can avoid making your applet's users want to throttle you. This page tells you about some other ways that you can make dealing with your applet as pleasant as possible.
> Make your applet as flexible as possible.
>   You can often define parameters that let your applet be used in a variety of situations without any rewriting. See Defining and Using Applet Parameters for more information.
> Make your applet accessible.
>   You can design your applet so that it is accessible to all. See How to Support Assistive Technologies for more information.
> Implement the `getParameterInfo` method.
>   Implementing this method now might make your applet easier to customize in the future. Currently, no browsers use this method. Soon, however, we expect browsers to use this method to help generate a GUI that allows the user to interactively set parameter values. See Giving Information about Parameters for information on implementing `getParameterInfo`.
> Implement the `getAppletInfo` method.
>   This method returns a short, informative string describing an applet. Although no browsers currently use this method, we expect them to in the future. Here's an example of implementing `getAppletInfo`:

>   >     public String getAppletInfo() {
>   >         return "GetApplets by Kathy Walrath";
>   >     }

Previous page: Before You Ship that Applet
Next page: Deploying Applets