• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

screen capturing & identifiable coordinates

I'm writing an application which takes continous screenshots of a small portion of the screen.  What I would like to do is to display some type of indication over the targeted area which will allow the user to see where the capture is taking place.  It's an application which will display a person's workspace in real time on the web and the user needs to know in which are they must work in order for the images to be captured correctly.

Does anybody have any idea in particular on how to accomplish this?  The java application that is doing the capturing will be running in the background and the applications being captured could be anything just as long as there is some type of indication to the user where the space is.  I imagine a solution to this is going to be kind of tricky.

Thanks,
David
0
lomidien
Asked:
lomidien
  • 7
  • 4
1 Solution
 
objectsCommented:
Try using a JWindow that takes up the whole screen.
0
 
objectsCommented:
You'll need to hide the window before taking the screen cap :)


full screen mode *may* be useful (and may not)

http://www.javaalmanac.com/egs/java.awt/screen_FullWin.html
0
 
objectsCommented:
Your JWIndow would display a screen cap of the entire screen (that is actually behind the window), and overlay the actual screen cap (yet to be taken) bounds over the top.

http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20163583.html

this may also be useful:

http://www.javaworld.com/javaworld/javatips/jw-javatip86.html
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
lomidienAuthor Commented:
Yeah, I was doing this during my testing to give myself an idea where the capture would happen...and then I would hide the screen so that it captured what I wanted, but here's the crux of my situation.......

The end user of the application is a graphics designer and he would like to be able to demo his work real time to his client while he's making some adjustments to it.  This is why it's important for him to know where the "visible" zone is for his client.  Ah ha, very tricky indeed.  

Objects, please tell me you have another idea in your head.........oh please oh please.  :)

David
0
 
lomidienAuthor Commented:
Ok, we posted at the same time....let me check those links real quick.  

Thanks....be back shortly
0
 
objectsCommented:
why not use SnagIt :)
0
 
objectsCommented:
Otherwise I think you're going to need to write some native code.
0
 
lomidienAuthor Commented:
My boss is the graphic designer I'm writing this for.  :(  Well he simply insists on having this area indicated so that he never accidentally goes outside the boundaries.  There is also one key piece of info that I neglected to include in my original post; he s using Max OS X....which makes writing native code, for me at least, impossible.  I should suggest he uses TAPE on his monitor to clarify the space, but I don't think that would fly with him.  :)

Any other ideas.  <crosses fingers!!!>

Thanks again!
0
 
objectsCommented:
If he needs to see the boundds and work on the contents at the same time then I don't believe you can achieve that using java. My only suggestion would be to look at native screen capture utilities.
0
 
lomidienAuthor Commented:
Alrighty, thanks...I was afraid of this answer actually.  

David
0
 
objectsCommented:
sorry I couldn't give a more favourable response :(
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 7
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now