java applet

Java applet example - get applet parameters from an HTML file


Many times when you're developing a Java applet, you want to pass parameters from an HTML page to the applet you're invoking. For instance, you may want to tell the applet what background color it should use, or what font to use, to keep your Java applet consistent with the rest of your HTML-based web site.

A Java applet sound example

We all know that multimedia, used properly, can make any web site more entertaining. In this applet tutorial, we'll present a brief example of a Java applet that plays a sound file when it is downloaded. The compiled applet class file is very small - only 559 bytes - and can be downloaded quickly into a user's web browser.