2009/9/17 Stefan Kuhn <stefan.k...@ebi.ac.uk>:
> On Thursday 17 September 2009 13:16:34 remy d1 wrote:
>> Hi,
>>
>> I need some help to use the getImage() method in the JCP applet. I
>> would like to make PNG file from a mol data file, without launching
>> the java applet to load structure faster.
>> How can I do that ? For the moment, I'm using the OASA python library
>> converter.
> This can be done in java using the Renderer. See
> https://sourceforge.net/apps/mediawiki/cdk/index.php?title=Renderer_Tutorial
> for an explanation. You do not need the applet for that. The rendering is not
> yet perfect with current cdk, but the basics work

I have already seen this tutorial. I will try it.

>>
>> There's also a problem to load a mol/smiles file in the applet viewer.
> Are you using JavaScript to do that?

I am using this code :

<!--[if IE]>
        <object classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\"

                          codebase=\"http://java.sun.com/update/1.5.0/jins
tall-1_5-windows-i586.cab#Version=1,5,0,0\"
                width=\"500\" height=\"400\"
                id=\"JCP\">
                <script>/*<![endif]--><script type=\"text/javascript\">/**/</scr
ipt>
        <!--[if !IE]><!-->
                <object type=\"application/x-java-applet;version=1.5\" width=\"5
00\" height=\"400\" id=\"JCP\" scrollbars=\"false\" detachable=\"true\">
        <!--<![endif]-->
        <param name=\"code\" value=\"org.openscience.jchempaint.applet.JChemPain
tViewerApplet\">
        <param name=\"archive\" value=\"jchempaint/jchempaint-applet-core.jar\">
                <param name=\"load\" value=\"jmol/mol/".$Molfile."\">
        </object>

> Stefan
>> Curiously, I need to refresh the page to see it.
>>
>>
>> Regards
>>
>> ---------------------------------------------------------------------------
>>--- Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Cdk-user mailing list
>> Cdk-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/cdk-user
>
>
>
> --
> Stefan Kuhn B. Sc. M. A.
> Software Engineer in the Chemoinformatics and Metabolism Team
> European Bioinformatics Institute (EBI)
> Wellcome Trust Genome Campus
> Hinxton, Cambridge CB10 1SD UK
> Phone +44 1223 49 2657
> Fax +44 (0)1223 494 468
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Cdk-user mailing list
> Cdk-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdk-user
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to