Connecting Tech Pros Worldwide Help | Site Map

Problem with java.awt.Robot and screen capture/refresh

Adrian Lumsden
Guest
 
Posts: n/a
#1: Jul 17 '05
Hello,

I have an app where I have to screen scrape to capture an image from a JMF
film player.

The user is given a dialog with a list of frames that can be exported as
images. If the one they chose contains the JMF film player then I use the
Robot to scrape the pixels off the screen.

Problem is that the dialog which they used is often still left on the screen
and gets scraped along with film image.

I'm thinking that I need to get a screen repaint to happen before the Robot
goes into action but I can't find a way to make this happen.

Any suggestions or other solutions to this problem?


TAI,

Adrian Lumsden

Scientific Software and Systems
Wellington
New Zealand


Adrian Lumsden
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Problem with java.awt.Robot and screen capture/refresh


"Adrian Lumsden" <adrian.lumsden@spam.trap.sss.co.nz> wrote in message
news:r0teb.5384$tv1.595173@news02.tsnz.net...

[Snip]

And in case you're tempted to say RTFM: Robot.waitForIdle(), it doesn't
work.


regards,

Adrian

Adrian dot Lumsden at spam goes here sss dot co dot nz


Newbie
 
Join Date: Apr 2006
Posts: 1
#3: Apr 16 '06

re: Problem with java.awt.Robot and screen capture/refresh


tools may help you:
quick screen capture
quick screen recorder
Closed Thread