Hi all,
I was wondering if the new CDK-Jchempaint 9 is able to render lone
pairs/radicals. I am using cdk 1.3.4 and tried to do the following code:
List<IAtomContainerGenerator> generators = new
ArrayList<IAtomContainerGenerator>();
generators.add(new BasicBondGenerator());
generators.add(new BasicAtomGenerator());
//this does not work because it implements IGenerator instead of
IAtomContainerGenerator
//generators.add(new LonePairGenerator());
Renderer renderer = new Renderer(generators, new AWTFontManager());
The renderer can only be instantiated using a list of
IAtomContainerGenerator.
Am I doing something wrong here?
Thanks!!
Sebastian
--
Sebastian Wolf
Group Bioinformatics & Mass Spectrometry
Leibniz Institute of Plant Biochemistry
Weinberg 3
06120 Halle (Saale), Germany
email: [email protected]
phone: +49-(0)345-5582-1471
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user