开发者

How can I capture the screen (with Robot) from an applet?

开发者 https://www.devze.com 2023-02-15 20:46 出处:网络
I know it is possible to \'capture the screen\' with a Robot in a Java program. But is it also 开发者_运维技巧possible to do this with a Java applet?

I know it is possible to 'capture the screen' with a Robot in a Java program.

But is it also 开发者_运维技巧possible to do this with a Java applet?

If so, what would I have to do here?


Yes its possible; 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消