wood burning stoves 2.0*
The moose likes Java in General and the fly likes GUI capture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "GUI capture" Watch "GUI capture" New topic
Author

GUI capture

Jerry Yu
Greenhorn

Joined: Sep 02, 2003
Posts: 6
hi everyone,
Is there a way to capture GUIs as images, even when the windows are not topmost (hidden or minimized)?
I only know how to grab GUIs when they are the topmost. But I don't know how to acces the display buffer when they are hidden or minimized. Any suggestions?
Thank you.
Jerry
John Winstanley
Greenhorn

Joined: Apr 08, 2003
Posts: 14
Are you talking about pressing the print screen button, or do you want to do this from inside an application?


John
Jerry Yu
Greenhorn

Joined: Sep 02, 2003
Posts: 6
hi,
I want to get other applications' guis from my application. I can do this when the other application is the topmost. How can do this when the application is minimized or hidden?
Thank you,
Li
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

So you want to capture screen prints of applications that are minimized or mearly offscreen? All I can say is not with pure JAVA. I wouldn't even know how to begin doing that in any other language. You probably talking about invading some Windows Protected Memory space to get those buffers. If GUI's are actually kept in some off screen buffer.


GenRocket - Experts at Building Test Data
Jerry Yu
Greenhorn

Joined: Sep 02, 2003
Posts: 6
If the other app is written in java, could I get access to its graphics requrests without having to touch protected memory in window or linux?
 
wood burning stoves
 
subject: GUI capture