Sean Luke wrote:
> Test #2: change the Delay of the model to something relatively slow
> (maybe 1 tick per second). Does this still cause things to lock up?
I can not seem to make it lock up when setting the delay that high.
> Test #3: In the step(...) method in Display2D.java, there's a line
> that looks like this:
> if (isMacOSX && movieMaker == null)
> Change this to
> if (true)
Thanks! This fixes the problem.
Isn't repaint() supposed to (eventually) call paintComponent() as
needed? Even though I can not find any docs at java.sun.com that
prohibits calling paintComponent() directly, I can't find any docs that
recommend doing so either.
OTOH, the behaviour ought to be the same for OSX unless you are
rendering to a movie...