Best Tutorials website


Taking Screenshots in Java

Taking Screenshots in Java

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.




Views: 826 | Rating star | by Sarah




View this tutorial
Broken link Report broken link?