User 97133431b5
11-11-2005 22:57:10
Hi,
I am trying to integrate MarvinSpace with my web application using java web start. This was chosen because applets were crashing my browser on unload (the known issue).
Anyways, here's my question. I was trying to look for some documentation regarding the MSpace class but unfortunately found none in the javadoc provided.
Specifically, I need to load up 2 files, pdb and sdf to be specific, and display all the molecules inside one cell. (It would also be helpful if I could find out from anyone how not to trigger the popup of loading multiple molecules into one cell confirmation)
Using the examples provided on the chemaxon page, here's what I have in my jnlp file..
<application-desc main-class="chemaxon.marvin.space.gui.MSpace">
<argument>http://url.to.get/molecule.pdb </argument>
<!-- the top and bottom line cannot coexist, removing either one works! -->
<argument>http://url.to.get/molecules.sdf</argument>
<argument>-s</argument>
<argument>-p</argument>
<argument>Ligand.DrawType</argument>
<argument>Stick</argument>
<argument>-p</argument>
<argument>Water.DrawType</argument>
<argument>Ball</argument>
<argument>-p</argument>
<argument>MacroMolecule.ColorType</argument>
<argument>Residue</argument>
<argument>-p</argument>
<argument>MacroMolecule.DrawType</argument>
<argument>Stick</argument>
<argument>-p</argument>
<argument>Ligand.ColorType</argument>
<argument>Constant</argument>
<argument>-p</argument>
<argument>ShowSurface</argument>
<argument>Connolly</argument>
<argument>-p</argument>
<argument>Surface.DrawType</argument>
<argument>Transparent</argument>
</application-desc>
Any help is much appreciated. Thanks in advance!
I am trying to integrate MarvinSpace with my web application using java web start. This was chosen because applets were crashing my browser on unload (the known issue).
Anyways, here's my question. I was trying to look for some documentation regarding the MSpace class but unfortunately found none in the javadoc provided.
Specifically, I need to load up 2 files, pdb and sdf to be specific, and display all the molecules inside one cell. (It would also be helpful if I could find out from anyone how not to trigger the popup of loading multiple molecules into one cell confirmation)
Using the examples provided on the chemaxon page, here's what I have in my jnlp file..
<application-desc main-class="chemaxon.marvin.space.gui.MSpace">
<argument>http://url.to.get/molecule.pdb </argument>
<!-- the top and bottom line cannot coexist, removing either one works! -->
<argument>http://url.to.get/molecules.sdf</argument>
<argument>-s</argument>
<argument>-p</argument>
<argument>Ligand.DrawType</argument>
<argument>Stick</argument>
<argument>-p</argument>
<argument>Water.DrawType</argument>
<argument>Ball</argument>
<argument>-p</argument>
<argument>MacroMolecule.ColorType</argument>
<argument>Residue</argument>
<argument>-p</argument>
<argument>MacroMolecule.DrawType</argument>
<argument>Stick</argument>
<argument>-p</argument>
<argument>Ligand.ColorType</argument>
<argument>Constant</argument>
<argument>-p</argument>
<argument>ShowSurface</argument>
<argument>Connolly</argument>
<argument>-p</argument>
<argument>Surface.DrawType</argument>
<argument>Transparent</argument>
</application-desc>
Any help is much appreciated. Thanks in advance!