Brobbey,Isaac (neuron) wrote:
so i want to terminate the current session of the java3D before loading another one.when i put an explicit call of System.exit(0) in the applet program, i get an "accessControlException". do i need a special permission from the runtime system to terminate the current session ?
Note that even if you did manage to call this, it's not going to achieve the result you want. System.exit(0) will cause the entire browser to shut down. I think you need to do a little more reading up on how applets function to determine the correct answer. Remember, this is a Java3D list, not a general Java coding list.
-- 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".