开发者

How can I capture the screen (with Robot) from an 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜