sweet hello to all,
someone tell me that how to capture the Active(current) window using java.
I have captured the whole screen(desktop) and wrote jpeg file of captured pixels. Now, i want to capture currently open program's window(e.g. My Computer, MS Word etc).

waiting...
best wishes

Waqas Dar

Well, you might get something to work using Robot, otherwise you would need to use JNI to access the win32 API.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.