Answer the question
In order to leave comments, you need to log in
How to take a screenshot of a specific program in java?
You need to programmatically take a screenshot of any running program as in windows Alt + PrintScreen, I will be glad for any hint)
Answer the question
In order to leave comments, you need to log in
Get coordinates of a third party window - stackoverflow.com/questions/6091531/how-to-get-the...
colororacle.org
Here is an open source color blindness simulator in Java. Takes screenshots of the entire screen; how - look at the source.
It is doubtful that it will be possible to take a snapshot of a separate program cross-platform in Java - it hurts too much for a system thing.
PS For screenshots, a class called "testing robot" is used - they can take a screenshot, but how to get a rectangle of someone else's window? Apparently, only through the native wrapper.
PPS It turns out that there is a native wrapper - JNA. Never worked with her.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question