Andrew Davison wrote:
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.
Why aren't you just registering a shutdown listener with the VM? That
way, no matter how the program is killed, you can reset the graphics
context as needed. Have a look at java.lang.Runtime for more information
on how to do this.
--
Justin Couch http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler http://www.yumetech.com/
Author, Java 3D FAQ Maintainer http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
- Greg Bear, Slant
-------------------------------------------------------------------
===========================================================================
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".