This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a simple JApplet that runs fine in Netscape 4.77 but not IE 5.5. The catch is, I am using the Java Plugin 1.3.1 and I have used the HTML converter. The error the plugin's console window gives me is this: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at sun.applet.AppletSecurity.checkAccess(Unknown Source) at java.lang.ThreadGroup.checkAccess(Unknown Source) at java.lang.Thread.init(Unknown Source) at java.lang.Thread.<init>(Unknown Source) at javax.swing.TimerQueue.start(Unknown Source) at javax.swing.TimerQueue.<init>(Unknown Source) at javax.swing.TimerQueue.sharedInstance(Unknown Source) at javax.swing.JApplet.<init>(Unknown Source) at Terminal.<init>(Terminal.java:10) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Since it works fine in AppletViewer and in Netscape, why would it do this in IE even though I'm using the plugin? And, yes, the same plugin is also installed and running in Netscape.
At the time, I think it was the class definition, but somehow it started working magically about an hour after I posted my question. It was kinda weird . I guess IE just needs the plugin to be jump-started a few times.