I searched for this subject on Google and got some website about an expert sexchange...so I figured I should just ask here instead.
How do you embed a JApplet
in html on a webpage?
I searched for this subject on Google and got some website about an expert sexchange...so I figured I should just ask here instead.
How do you embed a JApplet
in html on a webpage?
Use the <applet> tag. For more info: http://java.sun.com/docs/books/tutorial/deployment/applet/html.html
Here is an example from sun's website:
<applet code="TumbleItem.class"
codebase="examples/"
archive="tumbleClasses.jar, tumbleImages.jar"
width="600" height="95">
<param name="maxwidth" value="120">
<param name="nimgs" value="17">
<param name="offset" value="-57">
<param name="img" value="images/tumble">
Your browser is completely ignoring the <APPLET> tag!
</applet>
Although you didn't say so, just in case you were using JSPs, you also have the option of the jsp:plugin tag?