You are about to report the tutorial shown below for review. Please only report if there is a problem with it.
Thanks.
Taking Screenshots in Java Java / Swing
Have you ever wanted to grab a screenshot from your Java application? Here's a quick tutorial on how to grab a screenshot and save it to a JPEG and PNG file. This shows how to use the Robot class to capture the screen image and the ImageIO API to save it as a JPG and PNG.