4. How will you communicate between two Applets ?

All the applets on a given page share the same AppletContext. We obtain this applet context as follows:
AppletContext ac = getAppletContext();

AppletContext provides applets with methods such as getApplet(name), getApplets(),getAudioClip, getImage, showDocument and showStatus().



No comments:

Post a Comment