File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Questions 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 » Java in General
Bookmark "Questions about a screen capture tool" Watch "Questions about a screen capture tool" New topic
Author

Questions 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?
 
Consider Paul's rocket mass heater.
 
subject: Questions about a screen capture tool