Dear All, and Jonathan Leong,

> Why not just directly call System.exit(0); ?

My posting wasn't very clear. The code in the Behavior subclass
is calling System.exit(0), but it has to reset the GraphicsDevice
first to switch off fullscreen exclusive mode.

BTW, I think I've found a solution (hack, really). When I
first switch on fullscreen mode, I also change the DisplayMode of
my monitor from its current setting to itself (pointless!). In the
'quit' code in the Behavior object, I reset the DisplayMode back to
its original value before exiting, and that seems to ensure that the
exit() call doesn't hang.

- Andrew

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to