In 1995 Sun Microsystem released JAVA.Soon it became very popular because it let one create cross platform applications and run them in real time.JAVA can be used to write any application.Java Applet is a very small program designed to run in the web, using a Java Virtual Machine in latest browsers IE5 & NS4.7. etc.An applet is plugged into HTML code by using <applet> and <param>elements.The program is written in Java and compiled and named with extension "class". Code tag in HTML shall specify the name and base(location).Variables and controls shall be specified under 'param' (parameter)elements.Close the </applet> and run in a browser.You will be amazed.