MASON-INTEREST-L Archives

November 2008

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Pelle Evensen <[log in to unmask]>
Reply To:
Date:
Tue, 11 Nov 2008 12:22:39 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
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...


Regards,
  Pelle

ATOM RSS1 RSS2