Module java.desktop

Package java.applet

Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.

The applet framework involves two entities: the applet and the applet context. An applet is an embeddable window (see the Panel class) with a few extra methods that the applet context can use to initialize, start, and stop the applet.

The applet context is an application that is responsible for loading and running applets. For example, the applet context could be a Web browser or an applet development environment.

The APIs in this package are all deprecated. Alternative technologies such as Java Web Start or installable applications should be used instead. See JEP 289 and the Oracle White Paper "Migrating from Java Applets to plugin-free Java technologies" for more information.