Previous Next Applet Capabilities Applets have some capabilities that not even applications have. Capabilities that Applications Don't Have Applets get extra capabilities because they are supported by code in the application they run in. Applets have access to this support through the java.applet package, which contains the Applet class and the AppletContext, AppletStub, and AudioClip interfaces. Applets running within a Web browser can easily cause HTML documents to be displayed.
Applets can invoke public methods of other applets on the same page.
Although most applets stop running once you leave their page, they don't have to. Sometimes, however, it's appropriate for an applet to continue executing. For example, if a user tells an applet to perform a complex calculation, the user might want the calculation to continue. The user can then dismiss the window when it's no longer needed.