Java™ Platform
Standard Ed. 8

Package java.applet

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

See: Description

  • Interface Summary 
    Interface Description
    AppletContext
    This interface corresponds to an applet's environment: the document containing the applet and the other applets in the same document.
    AppletStub
    When an applet is first created, an applet stub is attached to it using the applet's setStub method.
    AudioClip
    The AudioClip interface is a simple abstraction for playing a sound clip.
  • Class Summary 
    Class Description
    Applet
    An applet is a small program that is intended not to be run on its own, but rather to be embedded inside another application.

Package java.applet Description

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.

Since:
JDK1.0
Java™ Platform
Standard Ed. 8

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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部