Taking Screenshots in Java
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 13211
Total Votes: 159 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...