Java applet tutorial with example and running it by html file and appletviewer tool. The java.applet package provides classes such as Applet class and AppletContext class. advantage disadvantage of java applets.
Java Applet Communication with example. 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.