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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter makwak

    (@makwak)

    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="https://www.yoururl.com/wp-content/applet";>
    <param name="iconwidth" value="48">
    </param><param name="iconheight" value="48">
    </param></applet>

    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 https://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 https://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:
    https://lux.vu/blog/?p=4

    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.