I’m not good with Java but when I run my Applet in a simple HTML page, occurs the following error
SecurityException: Trusted loader attempted to load sandboxed resource
from file : C:/Users/lucas/teste.jar
Edited: policy tool
I follow the tutorial but in the step 7, i got the following error

Translated:
Could not open file policy C:\Program
Files\Java\jdk1.7.0_05\bin\raystore:
sun.security.provider.PolicyParser$ParsingException line 1: expected
[;] found[pípí]
Applets run in a sandbox with limited permissions.
http://docs.oracle.com/javase/tutorial/deployment/applet/security.html
You can sign your Applet as detailed below if you want to override these default permissions.
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html