> Sorry to keep bugging you... but I've got another thing...
Don't be foolish ... you are not bugging me.
> And now I've got flickering when rotation...
Well, we solved one problem, but encountered another. The good news is
that this one will be easier to fix.
I suspect that this is because I turned off the double-buffering. It ran
faster with double-buffering disabled. And I did not have any flickering
problems on my linux box or on my Mac. And so far I haven't received get
any negative feedback from Fabian or you, so I thought it was OK.
> I know Jmol had this
> problem in the past too, and it was solved by not going repaint while
> another paint was not yet finished... Did this get lost?
Hmmm ... now I am puzzled.
Yes, there *was* code in there to prevent more than one repaint operation
from being scheduled. However, after studying it I convinced myself that,
in reality, the code wasn't doing anything. I even went back to
java.sun.com and re-read the documents on the awt event thread and event
handling. So after doing quite a bit of investigation, I *did* remove the
code.
Now, that doesn't change the fact that you are seeing screen flicker. So
this is what we will do:
1. I will turn on the double-buffering. We will test that and see what
that does. I strongly suspect this will solve the problem.
2. I'll reintroduce some code to prevent multiple repaints from being
scheduled. However, if *this* solves the problem then I will be very
disappointed in Sun. Because their documentation is very clear that:
a. there is nothing wrong with repaint more than once
b. from the programmer's perspective, there is only one event thread
that is generating both ui events and calls to paint
c. the paint code runs to completion
Don't worry ... we will fix it.
Miguel
-------------------------------------------------------
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