aspose file tools*
The moose likes Applets and the fly likes Taking screenshots Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Taking screenshots" Watch "Taking screenshots" New topic
Author

Taking screenshots

Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 659

"If the user popped up another window and it covered an existing win-
dow and then made the overlaid window disappear, the application window that
was covered is now corrupted and will need to be repainted. (The graphics system
does not save the pixels underneath."
Core Java Volume 1 (8th Ed) p.296

What if I need to remember the exact layout, as in take a screenshot or a sequence of screenshots (video)? Is it possible to do this programmatically?


Jon
Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 659

I found a working example of taking a screenshot at this link., now I need to create a timer that takes screenshots every so often, for which I was thinking of using the Timer class, to capture screenshots.

Then I would re-arrange the pictures so that they fit a video format (e.g. MPEG, AVI), am I in the right direction?


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Taking screenshots
 
Similar Threads
FREE Certification Beta: Sun Certified Specialist Netbeans IDE
Blackdown JRE on iPaq
What is user document
How to Save applet page as a JPG file
GUI looks different on Windows and Linux as compared to Mac