Packaging Programs in JAR Files
- Using JAR Files: The Basics
- Creating a JAR File
- Viewing the Contents of a JAR File
- Extracting the Contents of a JAR File
- Updating a JAR File
- Running JAR-Packaged Software
- Working with Manifest Files: The Basics
- Understanding the Default Manifest
- Modifying a Manifest File
- Setting an Application's Entry Point
- Adding Classes to the JAR File's Classpath
- Setting Package Version Information
- Sealing Packages within a JAR File
- Signing and Verifying JAR Files
- Using JAR-related APIs
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
- Getting System Properties
- Threads in Applets
- Working with a Server-Side Application
- Finishing an 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: Java Applets