The propper way to insert a SWING applet into a html file...
I'm just wondering what the proper way to add an swing applet into a webpage is. Here is how I've gotten it to work so far:
"
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="235" height="78">
<param name="code" value="NameGenApplet.class">
NO SWING SUPPORT, DOWNLOAD THE PLUG IN
</object>
"
This can't be the right way, can it?
Mike
[433 byte] By [
Mike] at [2007-11-15 19:14:47]

# 1 Re: The propper way to insert a SWING applet into a html file...
You are correct.
If your browser supports swing then you do not have to use that crazy "classid=123456crap5667778...".
If you are using the plug-in, then that is the correct way to embed it.
if you haven't read it, here is some more info:
http://www.javasoft.com/docs/books/tutorial/uiswing/start/swingApplet.html
jerc at 2007-11-10 3:01:27 >
