Scripting a Java applet stopped working after reinstall of XP...

Discussion in 'Javascript' started by Dag Sunde, Oct 20, 2004.

  1. Dag Sunde

    Dag Sunde Guest

    I've been working on a system that have been running
    for the last couple of years, but stopped working
    on my dev. machine after reinstalling WinXP yesterday.

    To my knowledge, it have been set up with the same
    version of tools as I've always used.

    The following function does not call .clearTable() anymore.
    (That is...
    typeof document.getElementById('bidApplet').clearTable
    returns 'undefined' all of a sudden...)

    function clearJavaTable() {
    var javaBidTable;

    if (typeof document.getElementById('bidApplet').clearTable != 'undefined')
    {
    javaBidTable = document.getElementById('bidApplet');
    javaBidTable.clearTable();
    }
    }

    The Java method in question is defined as:

    public void clearTable()
    {
    // Clear the rest of the table...
    for(int i=0; i<table.getRowCount(); i++)
    {
    table.setValueAt("", i, COL_PRICE);
    table.setValueAt("", i, COL_VOLUME);
    table.setValueAt("", i, COL_DURATION);
    table.setValueAt("", i, COL_REST_TIME);
    table.setValueAt("", i, COL_STATIONGROUP);
    table.setValueAt("", i, COL_COMMENT);
    }
    }

    My Java (plugin) version is 1.4.2_06

    The page embedding the applet is defined as:
    <div class="appletLayer">
    <object
    id="bidApplet"
    classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width = "415"
    height = "150"
    align = "middle"
    vspace = "0"
    hspace = "0"
    codebase =
    "http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,1
    ,0">
    <param name = "code" value = "no.orion.rkom.BidApplet"/>
    <param name = "codebase" value = ".">
    <param name = "archive" value = "rkom.jar"/>
    <param name = "name" value = "bidApplet"/>
    <param name = "mayscript" value ="true"/>
    <param name ="type" value
    ="application/x-java-applet;version=1.3"/>
    <param name ="stationGroups" value ="<%=sStationGroups%>"/>
    <param name ="durationRange" value ="<%=durationRange%>"/>
    <param name ="restRange" value ="<%=restRange%>"/>
    </object>
    </div>

    Anyone have a clue as what may cause this?

    TIA...

    --
    Dag.
    Dag Sunde, Oct 20, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?am9obmJkaA==?=

    ASP.Net does not work after IIS uninstall/reinstall

    =?Utf-8?B?am9obmJkaA==?=, May 25, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    4,078
    =?Utf-8?B?am9obmJkaA==?=
    May 26, 2004
  2. Dag Sunde
    Replies:
    4
    Views:
    413
    Andrew Thompson
    Oct 24, 2004
  3. Replies:
    0
    Views:
    550
  4. Ulf Meinhardt
    Replies:
    0
    Views:
    592
    Ulf Meinhardt
    Jul 7, 2009
  5. Dag Sunde
    Replies:
    2
    Views:
    134
    Dag Sunde
    Mar 2, 2005
Loading...

Share This Page