Taking Screenshots in Java
Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 16511
Total Votes: 172 votes
Submitted on: 2008-03-12 11:19:32
Submitted By: Devesh Khanna
Description: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. More detail...