From: Andreas M. <ma...@in...> - 2004-06-23 15:28:13
|
On Mon, Jun 21, 2004 at 04:22:58PM +0200, Joerg K. Wegner wrote: > Hi Andreas, > > it will work for more parameters if you do not work with a static > environment. > > So use: > MoleculeViewer2D viewer = new MoleculeViewer2D(); > Renderer2DModel model = viewer.getRenderer2DModel(); > > then try: > boolean myKekuleFlag=true; > model.setKekuleStructure(myKekuleFlag); boolean myKekuleFlag=true; boolean myDrawNumbersFlag=true; model.setKekuleStructure(myKekuleFlag); model.setDrawNumbers(myDrawNumbersFlag); viewer.molecule=mol; viewer.display(); I use this, but it opens just a blank window. What should I do to display it? Thanks, Andi |