This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about a screen capture tool.

 
samuel, liu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic