java applet, how? (4 posts)

  1. makwak
    Posted 10 years ago #

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

  2. makwak
    Posted 10 years ago #

    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!

  3. PetLvr
    Posted 10 years ago #

    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

  4. jminor
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic