Applets cannot create threads under some circumstances in Netscape 6/MSWindows (Sun Java 1.3.0_01). If Netscape is launched by clicking on this HTML file in an MS Explorer window (copy the HTML and the NewThread.class file to your local disk first), then the Thread constructor throws the following exception:
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.(Unknown Source)
	at NewThread.start(NewThread.java:17)
The same exception occurs also when viewing the file with the command
java sun.applet.AppletViewer newthread.html
instead of appletviewer.exe (JDK 1.3).

NewThread.java