> > Now, in writing this the only thing that comes to mind is that possibly > somehow the atom positions themselves or the transformationMatrix are > getting whacked. That would account for the screen positions getting > mapped to 0,0,0. > I have spent quite some time looking to see if somehow the transform matrices are getting whacked at the same time a paint operation is going on.
The only way this could happen is if a mouseDragged event came in during the midst of a paint operation. That is, mouseDragged modifies the transform matrices. I wondered if this could be happening during a paint operation. My understanding was/is that this should not happen ... while the UI events some from a separate thread from the main application, all the UI events come from the same thread. To confirm this I put in some debugging code. At least on my machine, I have not observed a case where a mouseDragged event comes during a paint event. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers