Applet Communication

java.applet.AppletContext class provides the facility of communication between applets. We provide the name of applet through the HTML file. It provides getApplet() method that returns the object of Applet. Syntax:

public Applet getApplet(String name){}

Example

Flash Soon


myapplet.html

Flash Soon



Advertisement

© Sapster 2017