| Package | Description | 
|---|---|
| java.applet | Provides the classes necessary to create an applet and the classes an applet
uses to communicate with its applet context. | 
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | AppletAn applet is a small program that is intended not to be run on
 its own, but rather to be embedded inside another application. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| protected abstract java.awt.peer.PanelPeer | Toolkit. createPanel(Panel target)Creates this toolkit's implementation of  Panelusing
 the specified peer interface. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | JAppletAn extended version of  java.applet.Appletthat adds support for
 the JFC/Swing component architecture. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.