I want to build an Applet that use Robot Class to capture screen :
Robot myRobot = new Robot(myGraphicsDevice);
the problem is that the Java output panel show this message:
java.security.AccessControlException: access denied (java.awt.AWTPermission
createRobot)
at java.security.AccessControlContext.checkPermission(Unknown Source)
Can anyone tell my the reason of this exception ????
best regard,
max
Yep, you'll have to sign your applet.
--
Tony Morris
(BInfTech, Cert 3 I.T.)
Software Engineer
IBM Australia - Tivoli Security Software
(2003 VTR1000F)
Sun Certified Programmer for the Java 2 Platform (1.4)
Sun Certified Developer for the Java 2 Platform
What do you mind about "sign your applet" ?
I must use a software to sign an applet or automatic process ?
max
Search the web before asking newbie questions please?
Roedy Green's FAQ:
http://www.mindprod.com/jgloss/security.html#SECURITY
http://www.mindprod.com/jgloss/signedapplets.html
Sun Micro.
http://java.sun.com/docs/books/tutorial/security1.2/index.html