I'm scripting a Java program that, using the Robot Class, takes a screenshot and saves it.
The problem is that when i'm in a game, for exemple Call Of Duty 4, the screen is all black.
Is there another class or how can i solve problem?
Waiting your illumination ^^
Have a nice day