0% found this document useful (0 votes)
13 views1 page

AJP GRP No18 TMP

The document describes a simple calculator application created using Java AWT controls. It includes details on the students who created the project, their guide, and an abstract and introduction describing how the calculator accepts input from the user and performs basic math operations like addition, subtraction, multiplication and division based on the buttons clicked.

Uploaded by

Om Gawali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

AJP GRP No18 TMP

The document describes a simple calculator application created using Java AWT controls. It includes details on the students who created the project, their guide, and an abstract and introduction describing how the calculator accepts input from the user and performs basic math operations like addition, subtraction, multiplication and division based on the buttons clicked.

Uploaded by

Om Gawali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Simple Calculator using AWT

Controls
Details of Student(s) Enrollment Exam Seat Name of Students
2010020348 355057 Khan Faizan Ahmad
2010020386 355096 Thakre Samir Deepak
2010020387 355097 Patil Gaurav Bhausaheb
2010020388 355098 Borse Pruthvi Satish
Project Guide(s) Prof. M. B. Patil
Name of Industry NA
Nature of Project AWT Controls
Application(s) of Project NA
Abstract: In this project, we will learn about the Java AWT (Abstract Window Toolkit). As a result,
using this concept we will learn how to build a simple calculator using Java AWT. This calculator has
some very simple features of add, subtract, multiply and divide. So let’s get started to learn how to create
a simple calculator in Java AWT. Java AWT (Abstract Window Toolkit) is an API that helps in building
GUI based java applications. GUI helps in user interactions using some graphics. As a result, our
operating systems have some underlying GUI’s such as windows, frames, text field, labels, etc. We can
develop calculator in java with the help of AWT/Swing with event handling. Let's see the code of creating
calculator in java. 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.

Introduction: In this project we make a micro project on “Simple Calculator using AWT Controls” using
the OOP programing language ‘Advance Java’. In this project we implement the concepts of Swing,
AWT, Event Handling, decision making statements. We use if-else loop, while loop and switch case
statement to accept the choice from user. This project is user friendly and can easily be understood by the
user. In the coding section of this project we define the detail coding of our project & we also paste the
screen shot of basic coding. Class is a user defined data types that combines data and functions together.
It is a collection of objects of similar types. AWT is a Java Graphical User Interface (GUI) toolkit. It is an
Application Programming Interface (API) for providing a Graphical User Interface (GUI) for Java
programs.

Fig 1: Compilation on CMD Fig 2: Output 1 Fig 3: Output 2

You might also like