Menu

Problems starting Applet with Parameter

Help
2004-05-18
2004-05-22
  • Kristian Dunker

    Kristian Dunker - 2004-05-18

    It is not possible to start an applet with a paramter, isnt it.

    All the examples do not work

     
    • Guillaume Desnoix

      It is implemented and it was working before. I will check it. If I remember, they were passed as properties. More info tomorrow.
      Thank you for reporting what is probably a bug.

       
      • Guillaume Desnoix

        I checked and applet parameters are implemented (as arguments). BTW, what about WIDTH=### ? Should it be accessible using getParameter() ?
        I found one applet calling getParameter("width") and I don't know if it is correct, ...

        To answer your question, applet params are supported and passed as arguments (key=value). Now, you may have problems with applets and there is many reasons for that:
        1) AWT->Swing is not finished, try to run them in wharf mode and without laos:
          jdistro.mode=wharf jdistro.laos=no
        2) The params are extracted from the HTML. Maybe the HTML was too complex, badly formated and they weren't found.
        3) AWT strongly differs on Unix and Win. There is more problems on Win because I test less often on it.

        Rgrds, Guillaume

         

Log in to post a comment.