Category Archives: AWT

Java Program to Take Screenshots

There might be a situation where you guys want to take screen shots programmatically. So I am sharing a program that help you to take screen capture of your screen and save it in PNG (Portable network graphic) picture format. Also Read: Java Program to Find IP Address   The below program uses Java.awt.Robot class to… Read More »

Category: AWT

Java Program to Make a Simple Calculator Using AWT

Hello everyone, in this program I am going to share a code to make a simple calculator in java using awt. This calculator works on two integer numbers. As you enter two numbers and then click on desired button, the result is shown in Result text field. When you will click on Cancel button, the calculator will be closed.… Read More »

Category: AWT