I’m wondering how the snipping tool software on Windows is able to suspend the desktop activity. By this I mean that if I’m playing a game with moving objects or a video on youtube, they stop moving. It’s like the video is paused even though it isn’t.
I’m looking for a way to duplicate this effect, preferably in Java.
It doesn’t actually “suspend” activity – it simply captures a screenshot and freezes it until you make a selection. You can do a similar thing in Java by using the Robot.createScreenCapture method to capture the screen and display this image in a full-screen window (see Frame.setUndecorated).