Hi all,
I need to make a screenshot of a window to find out, if it show a
specific image, I found that I can use the Robot class for that, but
if I don't want to capture the whole screen I need to have the
coordinates of the window I want to capture.
As the window I want to capture is a native window, I need a way to
enumerate all windows on the desktop, find the correct window, (bring
it to the foreground), and capture the screen.
The problem is that I didn't find a way to enumerate the windows on
the screen. Is there something in the AWT or Swing classes?
Regards,
Raymund
Andrey Kuznetsov - 10 Mar 2005 18:32 GMT
> The problem is that I didn't find a way to enumerate the windows on
> the screen. Is there something in the AWT or Swing classes?
no, you should use JNI

Signature
Andrey Kuznetsov
http://uio.dev.java.net Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities