查查Toolkit的API,我记得它可以获取系统屏幕方面的信息,但我没用过它处理屏幕的内容,你试试。
顺便帮你顶一下 8-)

解决方案 »

  1.   

    恩,好的,谢谢提醒~~
    找到了
    public byte[] getSnapshot(java.lang.String imageType)
                       throws MediaExceptionGets a snapshot of the displayed content. Features and format of the captured image are specified by the imageType. All implementations support at least PNG format. Available formats can be queried from System.getProperty with video.snapshot.encodings as the key.
    Parameters:
    imageType - Format and resolution of the returned image. If null is given, it will default to using the PNG format.
    Returns:
    image as a byte array in required format.
    Throws:
    IllegalStateException - Thrown if initDisplayMode has not been called.
    MediaException - Thrown if the requested format is not supported.
    SecurityException - Thrown if the caller does not have the security permission to take the snapshot.正在测试j2se里面能不能用…………