Support » How-To and Troubleshooting » java applet, how?

java applet, how?

  • Hi,
    What is the best way to insert a java applet into a post?
    I seem to get errors and security issues.

Viewing 3 replies - 1 through 3 (of 3 total)
  • As long as the applet is on the same website, something like the following worked for us, inside a page:
    <applet code="SomeApplet.class" width=480 height=240 codebase="http://www.yoururl.com/wp-content/applet";>
    <param name="iconwidth" value="48">
    </param><param name="iconheight" value="48">

    In case anyone needs to know!

    Hi Makwak … Did you get working? What’s the URL (if I may ask)… I’ve been trying to get something like http://www.mts.net/~hbs/yvonne/puzzle14.htm (if you view source) embedded in my pages .. with no luck… The error message I keep receiving is “Loading Java Applet Failed”. I’ve tried in regular posts and in page posts and modify the url to the location of the files .. I have them all in my http://www.HARTandYVONNE.com/blog/puzzle/ folder .. It just seems that somehow my wordpress is making it stop. BTW I have a bunch of plug-ins installed, including Textile1 activated.

    Any thoughts? // HART

    Chances are the path to the jar file is incorrect.

    Here is an example that works:

    The text of the post contains:

    <applet width="400" height="400" archive="/applets/interleaves.jar" code="interleaves" />

    and the jar file is in an ‘applets’ directory at the root of my website. You could use a relative path also.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘java applet, how?’ is closed to new replies.
Skip to toolbar