应用程序背后的Java屏幕截图 [英] Java- screen capture behind the application

查看:63
本文介绍了应用程序背后的Java屏幕截图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以捕获屏幕,但不会显示应用程序本身.我知道如何最小化帧或使帧不可见,但这必须真正快速完成,因为它每秒会发生很多次(至少每秒发生一次).我希望它看起来像Windows Vista/7中的放大镜.(该应用可以看到自己的身后.)

Is there a way to capture the screen but without the app itself getting shown. I know how to minimize or make a frame invisible but this has to be done real fast cos it's going to happen alot in each second (at least once every second). I want it to look something like the magnifier in Windows Vista/7. (The app can see behind itself.)

推荐答案

如果不与相关平台的窗口管理器进行紧密的本机集成,则在Java中是不可能的.

This is not possible in Java without tight native integration with the window-manager of the platform in question.

这篇关于应用程序背后的Java屏幕截图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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