File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Question about a screen capture tool. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Question about a screen capture tool." Watch "Question about a screen capture tool." New topic
Author

Question about a screen capture tool.

samuel, liu
Greenhorn

Joined: Jun 01, 2001
Posts: 8
I am trying to create a screen capture program. It has to have three major functions: 1) be able to capture the whole screen. 2) be able to capture the active (current) window 3) be able to capture the desired region (the desired region might be defined by dragging the mouse and draw a box)
The first task is very easy to implement with robot class. But how can I implement the second and third task? How can I get the coordinate or dimension of the active window?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about a screen capture tool.