?
Solved

screen capturing & identifiable coordinates

Posted on 2005-02-24
11
Medium Priority
?
265 Views
Last Modified: 2010-03-31
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
Comment
Question by:lomidien
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
11 Comments
 
LVL 92

Expert Comment

by:objects
ID: 13397667
Try using a JWindow that takes up the whole screen.
0
 
LVL 92

Expert Comment

by:objects
ID: 13397688
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
 
LVL 92

Expert Comment

by:objects
ID: 13397736
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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:lomidien
ID: 13397739
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
 

Author Comment

by:lomidien
ID: 13397779
Ok, we posted at the same time....let me check those links real quick.  

Thanks....be back shortly
0
 
LVL 92

Expert Comment

by:objects
ID: 13397784
why not use SnagIt :)
0
 
LVL 92

Expert Comment

by:objects
ID: 13397810
Otherwise I think you're going to need to write some native code.
0
 

Author Comment

by:lomidien
ID: 13397916
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
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 13397966
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
 

Author Comment

by:lomidien
ID: 13398151
Alrighty, thanks...I was afraid of this answer actually.  

David
0
 
LVL 92

Expert Comment

by:objects
ID: 13398184
sorry I couldn't give a more favourable response :(
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question