#733 JChemPaint using loadModelFromSmiles()

cdk-1.0.x
closed
Stefan Kuhn
5
2012-11-03
2008-10-08
Anonymous
No

Hi
I am testing loadModelFromSmiles() using javascript to load a smiles string from the webpage into the applet.

Tested in 2.3.2 and Stefan's development post-2.3.3, CDK 1.0 (dated 8 oct. 08)

The loadModelFromSmiles("CCCC") call seems to do nothing in the applet, but when you then click on the applet canvas, ot on some of the toolbar buttons, suddenly the structure appears. So it seems that some triggering is missing, or a canvas update.

This function would be very useful to load structures dynamically.

Discussion