From: Stefan K. <ste...@eb...> - 2008-06-20 10:09:51
|
I can confirm it doesn't work (although I do not get the popup, just nothing). Unfortnately the applet doesn't build right now and I cannot try to do something about this without building a new applet. I try to find a solution for this... Stefan On Thursday 19 June 2008 16:42:24 Douglas O'Neal wrote: > I am trying to load a molfile into the jchempaint applet using the code > listed below. However, when I click on the load button I get a popup > window with the message "Could not determine file format". I've tried > this with versions 2.2.1, 2.3.1, and 2.3.2 of the applet. a-pinen.mol > loads just fine in the jchempaint application. Any suggestions? > > Doug > > <html> > <head> > <title>The JChemPaint Applet Demo</title> > <script language="JavaScript"> > function loadMolecule() { > document.Editor.setMolFile("a-pinen.mol"); > } > </script> > </head> > <body BGCOLOR="#ffffff" LINK="#000099"> > > <h2>The JChemPaint Applet</h2> > > <applet > code="org.openscience.cdk.applications.jchempaint.applet.JChemPaintEditorAp >plet" archive="jchempaint-applet-core.jar" > > name="Editor" > > width="600" height="500"> > </applet> > <<br> > <input type="button" value="load" onClick="loadMolecule();"> > </body> > </html> > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cdk-user mailing list > Cdk...@li... > https://lists.sourceforge.net/lists/listinfo/cdk-user |