Problems with Marvin Space

User a8020badc4

16-05-2011 15:22:12

I am having problems getting Marvin Space to work, I am trying to implement the most basic example detailed on the ChemAxon website i.e. Embedding MarvinSpace applet in HTML pages


I have tried entering this code into the page, replacing the SRC with the relative path between the html file and the marvin.js file


    <applet codebase="../../.."
        code="chemaxon/marvin/space/gui/MSpaceApplet" name="MSpaceApplet" width=400 height=400
        archive="mspace.jar,jmarvin.jar,jogl.jar">
    <param name="progressbar" value="true">
    <param name="selectionpanel" value="false">
    <param name="molecule" value="http://www.chemaxon.com/marvinspace/data/1ETS.mol">
    </applet>


I get the error message in the file attached + I get the message Applet MSpaceApplet notinited at the bottom of the screen.


 


Can anyone help with this?


I am using the most recent version of Marvin on Linux Redhat 5


Thanks,


Sam

ChemAxon 7c2d26e5cf

17-05-2011 10:01:07

The main applet class is wrong in your example.


Substitute


chemaxon/marvin/space/gui/MSpaceApplet


to


chemaxon/marvin/applet/MSpaceApplet


The Marvin Space applet class has been moved to a new package. Unfortunatelly, the documentation was not updated. I have completed it in this moment on the site.