I'm new to Java and I've written my first program. The program produced correct result. Then I put the program in an applet and loaded from a html page. The program runs too but when it's finished, I've found this message (in the applet area).
Exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
Why did this happen and how to solves this? Thanks.
Exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
Why did this happen and how to solves this? Thanks.