繁体   English   中英

通过Java applet截图

[英]Screenshot via Java applet

我对1个问题非常感兴趣 - 如何对客户端桌面进行屏幕显示,以便进一步发送到Web服务或我的Silverlight应用程序。 我打算写一个截屏的应用程序。

Thx提前!

已经有一段时间了,但我认为Robot类中有一些东西可以帮到你。

编辑:

从Robot API:

public BufferedImage createScreenCapture(Rectangle screenRect)

    Creates an image containing pixels read from the screen. This image does not include the mouse cursor.

    Parameters:
        screenRect - Rect to capture in screen coordinates 
    Returns:
        The captured image 

看看Robot类。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM