java.applet (Java SE 23 & JDK 23)
Description: declaration: module: java.desktop, package: java.applet
Keywords: java.applet package

# Package java.applet

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.

This package has been deprecated and may be removed in a future version of the Java Platform. There is no replacement. All of the classes and interfaces in this package have been terminally deprecated. Users are advised to migrate their applications to other technologies.

Since:
  1.0

- Class
  Description
  Applet
  Deprecated, for removal: This API element is subject to removal in a future version.
  The Applet API is deprecated, no replacement.
  AppletContext
  Deprecated, for removal: This API element is subject to removal in a future version.
  The Applet API is deprecated, no replacement.
  AppletStub
  Deprecated, for removal: This API element is subject to removal in a future version.
  The Applet API is deprecated, no replacement.
  AudioClip
  Deprecated, for removal: This API element is subject to removal in a future version.
  The Applet API is deprecated, no replacement.