如何从一个小程序捕获屏幕(含机器人)? [英] How can I capture the screen (with Robot) from an applet?

查看:220
本文介绍了如何从一个小程序捕获屏幕(含机器人)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这是可能的捕捉屏幕在Java程序的机器人。

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

但是,它也有可能用Java applet来做到这一点?

But is it also possible to do this with a Java applet?

如果是这样,什么会我一定要在这里做什么?

If so, what would I have to do here?

推荐答案

是其可能的;单独签署不会给你的小程序的任何权限。您需要授予createRobot权限您的小程序。

Yes its possible; signing alone won't give your Applet any permissions. You need to grant the createRobot permission to your Applet.

检查安全教程 S表示更多的细节。

Check the security tutorials for more details.

这篇关于如何从一个小程序捕获屏幕(含机器人)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆