如何http://www.screentoaster.com使用 Java Applet 从浏览器捕获计算机屏幕?关于如何实现这一目标的任何建议或线索?有没有其他方法可以使用不同的技术(例如 Flash)?
最佳答案
只需 5 行代码即可完成。
1 . Create one rectangle representing screen. 2 . Create one BufferedImage to store image of the screen. 3 . Take snapshot using new Robot().createSnapshot() method. 4 . Save the bufferedImage in file.
Robot class is part of java.awt package
您可以在下面的链接中查看更多详细信息。
关于java - screentoaster.com 如何从浏览器捕获您的计算机屏幕?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2249005/