I want to use Robot class in java applet for web browser to move and click mouse

后端 未结 2 1851
旧时难觅i
旧时难觅i 2021-01-13 22:43

I have created this applet, It moves mouse to 1000 pos on screen. It works as application but it does not work in applet. I have created signed applet but still it wont move

2条回答
  •  情话喂你
    2021-01-13 23:41

    Signing alone won't give your Applet any permissions. You need to grant the createRobot permission to your Applet.

    Check the security tutorials for more details.

提交回复
热议问题