dcsimg
AccessControlException in using java.awt.Robot class in applet
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alireza_Taherkordi
Posted On:   Monday, May 6, 2002 05:25 AM

I want to use java.awt.Robot class
specialy its keyPress() and keyRelease()
methods in my applets, but it throws this exception:


java.security.AccessControlException: access denied(java.awt.AWTPermission createRobot)


I can easily use it in my standalone applications but
applet's security does not permit using Robot class,


how can I resolve this problem? I just want to
send keyevents to textfields and Robot
could help me in.

About | Sitemap | Contact