查查Toolkit的API,我记得它可以获取系统屏幕方面的信息,但我没用过它处理屏幕的内容,你试试。
顺便帮你顶一下 8-)
顺便帮你顶一下 8-)
解决方案 »
- socket如何通过网络字节传输,紧急
- 接口继承的问题
- 请问如何用java代码实现类似sql多字段分组的功能?
- JAVA怎么学
- THINKING IN JAVA 上的一道关于异常处理的题目
- JTable中,怎样取得Cell编辑事件???急!!!UP都散分!
- 如何让线程能在固定的时间运行?(也就是不管我在任何时间启动线程)
- 初学java的一篇不错的文章,通俗易懂,强烈推荐!看完记得顶起!!
- 请教:swing里面的isVisble()方法和isShowing()方法有什么区别?
- 一个页面刷新的简单问题
- 我怎么发现很多jsp中调用的.java文件里面的方法都是静态的啊??是懒呢,还是这样写比用对象调用好啊??
- 关于java图像处理与中文的问题(jai,imagej)
找到了
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里面能不能用…………