Using Java appletsThis page show three ways to include a java applet on a web page. The DisplayVersion applet is used in each case. On my Netscape 4.61 browser, the applets may be rendered by different JVM's. APPLETThe DisplayVersion applet gets the system properties and prints them. The first uses the APPLET tag display the applet. The APPLET tag is deprecated.
<applet code="DisplayVersion.class" width=360 height=300 vspace=10></applet>
EMBEDThe second instance of DisplayVersion uses the EMBED tag to display the applet. <embed code=DisplayVersion.class type="application/x-java-applet;version=1.3" width=360 height=300 vspace=10></embed>
OBJECTThe third instance of DisplayVersion uses the OBJECT tag to display the applet. This doesn't work on any browser that I use. <object classid="java:DisplayVersion.class" width=360 height=300></object>
Graphics by Colorful Language Copyright 2002 by Blonde Guy |