makejar batch file

To test this code (uses self-signed certificate), copy the html from above and place in file "TestApplet.html".

Follow the steps in makejar batch file.

Notice that when the applet is loaded, the start() method is called and can perform the delete() operation. When you click on the Test Applet button however, it throws a FilePermission exception.

Java console output:
Test begin - - Test endTest begin - access denied (java.io.FilePermission C:\Test.fil write) - Test end