The FilterAppletContext

The package "applet" contains classes for manipulating applets (as opposed to classes for implementing applets).

  1. Every applet needs an AppletContext and an AppletStub. It obtains its AppletContext by calling the GetContext( ) method of its AppletStub.

  2. A distinct AppletStub object is required for every instance of an applet, since the AppletStub provides methods such as GetParameter( ).

  3. A single AppletContext object may be used by many applets, and provides browser services such as GetImage( ) and ShowDocument( ).

  4. The FilterAppletContext class filters calls to an existing AppletContext. To use the class, derive from it and override those calls which you want to intercept. This class is used in the implementation of embedded applets.