From: Rajarshi G. <rg...@in...> - 2009-01-15 17:47:29
|
On Jan 14, 2009, at 12:47 PM, gilleain torrance wrote: > Hi, > > So did I, until I saw that you had copied over the "isNewChemModel" > flag. That was an ugly hack of mine that is not really necessary for > "single-shot" image generation like this. What it is for, is that the > intermediate representation is cached for things like scrolling. Well, > just scrolling actually. > > Anyway, set that to true, and things show up. But not aromatic > things...hmmm. Hi, while this fixed one short depictions, I'm now trying to use the code to display resizable depictions. In this case, I get the panel and put it in a JFrame. But with isNewChemModel set to true, I get the diagram but there's no change on resize. But when I revert isNewChemModel to the way it is in RenderPanel.java, I hit the problem of the blue N in the corner, though resizing the window appears to have no effect. ------------------------------------------------------------------- Rajarshi Guha <rg...@in...> GPG Fingerprint: D070 5427 CC5B 7938 929C DD13 66A1 922C 51E7 9E84 ------------------------------------------------------------------- Paper or plastic? Not 'Not paper AND not plastic!!' -- Augustus DeMorgan in a grocery store |