Hmm. These two errors are quite confusing. 1) There is indeed a make123Triazole() method in MoleculeFactory:
http://pele.farmbio.uu.se/nightly-jcp/api/org/openscience/cdk/templates/MoleculeFactory.html#make123Triazole() 2) There is no method 'renderer()' in the class Renderer - in fact I don't think it is allowed to have a method with the same name as the constructor, but with a different case. I admit, the javadocs do not show the setup method in the Renderer class. However, the method is there in the repository: http://cdk.svn.sourceforge.net/viewvc/cdk/cdk/branches/jchempaint-primary/src/main/org/openscience/cdk/renderer/Renderer.java?revision=14586&view=markup and is, hopefully, in the code that you downloaded. gilleain On Thu, May 21, 2009 at 12:57 AM, JingG <jing...@umich.edu> wrote: > > OK. I can find all classes from the javadoc api. Thanks! But I still have > problems: > 1. > IMolecule triazole = MoleculeFactory.makeThiazole();//.make123Triazole(); > Method make123Triazole() is undefined, I use makeThiazole() instead. > > 2. > Renderer renderer = new Renderer(generators, new AWTFontManager()); > renderer.setup(triazole, drawArea); > The method renderer() in the type Renderer is not applicable for the > arguments(IMolecule, Reactangle) > > JingG > > > gilleain torrance wrote: >> >> Ah, right, sorry. Specifically: >> >> http://pele.farmbio.uu.se/nightly-jcp/api/ >> >> I notice that the code example I put in the class comment in the >> Renderer class looks horrible. I guess I should have used 'pre' tags >> or some such. >> >> gilleain >> >> On Wed, May 20, 2009 at 5:31 PM, Egon Willighagen >> <egon.willigha...@gmail.com> wrote: >>> On Wed, May 20, 2009 at 6:24 PM, gilleain torrance >>> <gilleain.torra...@gmail.com> wrote: >>>> These are indeed classes from jcp-primary. There is no javadoc for it, >>>> but it's easy to generate the docs from the source-code. >>> >>> The JavaDoc for this branch is available from: >>> >>> http://pele.farmbio.uu.se/nightly-jcp/ >>> >>> Egon >>> >>> -- >>> Post-doc @ Uppsala University >>> http://chem-bla-ics.blogspot.com/ >>> >> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables >> unlimited royalty-free distribution of the report engine >> for externally facing server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> Cdk-user mailing list >> Cdk-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/cdk-user >> >> > > -- > View this message in context: > http://www.nabble.com/draw-molecule-tp23248045p23645710.html > Sent from the cdk-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Cdk-user mailing list > Cdk-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/cdk-user > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Cdk-user mailing list Cdk-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-user