lcz022(阿五) 能大体的说说思路吗??
谢谢了
谢谢了
解决方案 »
- 关于权限管理
- 关于nutch-1.2中recrawl的问题
- jxl在64位aix linux下报错
- 这是什么错误!在线等!急!!
- 一个又出现的myeclispe的问题!!!
- 安装tomcat时一个奇怪的问题
- 如何用java实现web服务器的监控?
- 能不能給我一個JDBC for SQL server的驅動呀?免費的而且比較好用的。
- j2ee中session Bean中如何连接两种以上的数据库,比如oracle,sqlserver...此问题困扰了我一个星期也没有解决!!!!!
- 如何用Java打印出y=x^3的图像
- 高分求如何在jbuilder9 下配置weblogic7
- 下载的struts实例在jbuilder里编译时很多类怎么都找不到?
jdi调用win的dll
e863. Capturing a Screen Shot
See also e674 Converting a Buffered Image to an Image.
try {
Robot robot = new Robot();
// Capture a particular area on the screen
int x = 100;
int y = 100;
int width = 200;
int height = 200;
Rectangle area = new Rectangle(x, y, width, height);
BufferedImage bufferedImage = robot.createScreenCapture(area);
// Capture the whole screen
area = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize());
bufferedImage = robot.createScreenCapture(area);
} catch (AWTException e) {
}