How to Use Java Applets
The above is an example of a Java Applet, and once I had the appropriate
.class files in the right directory, all I had to do to get this working
was type
<applet code="Clock.class" id="Clock" width="100" height="100'
align="absmiddle">
</applet>
Like many applets used on the web, I didn't make this one, I found it on a
free website, such as Java
Powered, which even pointed to the the author of the
clock applet.
Some things to note about applets, they add nearly an extra minute to the
loading time of a webpage as the browser has to "start Java", and not
everyone can view them, though the support is pretty decent in version 3
or later of most browsers.
|