I am currently capturing various images from the desktop using the robot class. Yet every now and again my program will take a completely black image, which renders my program useless. Does anyone have any suggestion why this is happening ? and what I can do prevent or fix it ?
At the moment I just restart my computer and it seems fine, but I don't want this to happen on my clients computer.