Sir,
> In a related matter: I have a rather lengthly setup process for my> simulation (start() method in SimState reads plenty of data fromI'm interested in seeing this happen. Moving or resizing windows
> disk). I noticed that when running in GUI mode, I can sometimes
> hang the whole process by clicking / focusing / resizing / moving
> some of the windows (controller or displays) when simulation sets
> up. Sometimes this would also happen during runtime. Is there a
> simple fix to it?
causes repaint events, window events, and mouse events. Thing is,
start() is called in the simplest way possible: when you press the
Play button. This of course happens inside a mouse event in the GUI,
in a single thread, so you I think it should be impossible for MASON
to receive events and thus hang in any weird way.
This means that either a queued up collection of mouse or window
events is freaking out MASON *after* start() has completed
(unlikely), or that it's a bug in your Java implementation (more
likely -- are you using Windows? Have you tested on Linux and/or
MacOS X?)