Curious Message in Console
I am more curiuos than anything since my Applet seems to work fine, but when I get a successful login from my Login Applet that spawns a JRame that opens up with my control panel stuff on it. When I click on the X in my control panel to close that window I am seeing the following message appear in the console. But everything seems to work fine. Any ideas as to why this is happening, is this something that will cause me issues later on etc etc, or am I just paranoid? LOL. I am a newbie to Java so be gentle.
I have two separate Java Files that I make my class files from Login.java is my login screen and placed in an HTML file, and LoginFrame.java is the one that creates the JFrame window that I am closing that generates the message. Line 209 in the Login.java program is :
class WindowHandler extends WindowAdapter {
public void windowClosing(WindowEvent e) {
window.dispose();
System.exit(0);
}
} // This is line 209 in my listing in Macromedia MX.
Thanks,
Steven
java.security.AccessControlException: access denied
(java.lang.RuntimePermission exitVM)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkExit(Unknown Source)
at java.lang.Runtime.exit(Unknown Source)
at java.lang.System.exit(Unknown Source)
at Login$WindowHandler.windowClosing(Login.java:209)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

