AppletContext

AppletContext is an interface that is defined in the java.applet package.


 
Ads

AppletContext

     

AppletContext is an interface that is defined in the java.applet package. It is used by an applet to obtain information from the applet's environment through its methods. Applet runs within a context that is usually provided by a web browser or an applet viewer. Using that context, an applet is able to load bitmap images and audio clips.

Applets can also obtain additional services from an AppletContext?s object, which is returned from getAppletContext() method shown as:

  AppletContext Context = getAppletContext();

To get the AppletContext of the applet getAppletContext() method can be used shown as: 

Applet  AppletInstance = Context.getApplet(AppletName);

Read more at:

http:/www.roseindia.net/java/example/java/applet/Opening-a-URL-from-an-Applet.shtml

 

Advertisements

Share on Google+Share on Google+

AppletContext

Posted on: April 3, 2006 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: AppletContext  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0

Ads

 

Ads