Screen Shot Using Java

Hello all, I’m back ! Hope you all enjoyed Christmas. Today, I will tell you how to take screen shot and save it as .jpg, .png, .gif ( and so on ) file using java program. Rectangle rectangle = new Rectangle(x, y, width, height); // x = pixel from left // y = pixel from […]