group-icon
Java Developers
Group for Java developers and programmers. Ask questions and get answers related to Java programming
255 Members
Join this group to post and comment.
Manimalika Katakam
Manimalika Katakam
Information Technology
21 Jan 2019

IS APPLET A PART OF JAVA?

Applet is a Java program that can be embedded into a web page. It runs inside the web browser and works at client side. Applet is embedded in a HTML page using the APPLET or OBJECT tag and hosted on a web server.

All applets are sub-classes (either directly or indirectly) of java.applet.Applet class. ... Instead, they run within either a web browser or an applet viewer. JDK provides a standard applet viewer tool called applet viewer. In general, execution of an applet does not begin at main() method.

Applets are used to make the web site more dynamic and entertaining.

Some important points :

  1. All applets are sub-classes (either directly or indirectly) of Applet (Java Platform SE 7 ) class.
  2. Applets are not stand-alone programs. Instead, they run within either a web browser or an applet viewer. JDK provides a standard applet viewer tool called applet viewer.
  3. In general, execution of an applet does not begin at main() method.
  4. Output of an applet window is not performed by System.out.println(). Rather it is handled with various AWT methods, such as drawString().