DOABA PUBLIC SCHOOL
PROJECT FILE
FULLSTACK CALCULATOR
INFORMATION TECHNOLOGY
SUBJECT CODE-802
SUBMITED TO SUBMITED BY
CLASS: ROLLNO:
ACKNOWLEDGEMENT
I would like to express my sincere gratitude to all
these individuals for mentoring and supporting
me in completing this project.
My IT teacher_______________, for providing me
with invaluable insights and direction.
Our esteemed Principal Mrs. Brinder Kaur, for
fostering an environment of learning and
creativity within our school.
To my parents, their constant encouragement,
patience, and understanding have been the pillars
of my success.
I am grateful to my friends who contributed ideas
and perspectives that contributed ideas and
perspectives that enriched the project.
Thank you everyone for shaping this project and
enhancing my learning experience.
CERTIFICATE
This to certify that ________________ of Class-10+2
Non-Medical has successfully completed the
project FullStack Java Calculator Program of
Information Technology under the guidance of Mrs.
Kimmi Mahajan.
INDEX
1. Introduction
2. Objective
3. Hardware
Requirements
4. Creating an Opening
Database
5. Creating Java Login
Form
6. Creating Calculator
Application
CALCULATOR APPLICATION
INTRODUCTION
The Calculator Application is a Java-based desktop
program developed using Java Swing, designed to
perform basic arithmetic operations through an
easy-to-use graphical interface. It combines
simplicity with functionality by supporting both
keyboard and mouse inputs, allowing smooth and
flexible operation. Unlike traditional calculators, this
application features a secure login system and
calculation history tracking, offering a more
personalized and data-driven experience. It also
supports unlimited numeric input, enabling large
number calculations similar to advanced system
calculators. The project effectively demonstrates
the integration of GUI design, database connectivity,
and event handling in Java.
OBJECTIVE:
The main objective of the Calculator Application is to
design and develop a user-friendly and secure
calculator capable of performing accurate
computations efficiently. Specific goals include:
• Implementing a GUI-based calculator using Java
Swing.
• Adding a login authentication system for secure
user access.
• Recording and displaying calculation history for
convenience.
• Supporting both keyboard and touch input
methods.
• Allowing unlimited-length numeric inputs to
enhance usability.
• Demonstrating Java programming concepts
such as event-driven logic and database
connectivity.
Hardware and Software Requirements
● Processor:- Quard Core clocked @ 2.5GHz
● RAM:- 8GB
● Operating System:- 64bit
● Disk:- 512 GB
Software
● Operating System:- Windows 11
● Database Software:- Apache MySQL
● IDE:- Apache Netbeans
Creating and Opening Database
1. Search and Open MySQL
2. Create a database named “locopass” and
use it.
3. Create a table “user” with fields:
• Username [varchar(50) not null unique]
• Password [varchar(50) not null]
4. Enter userdata that you want to give acess
to.
Creating Java Login Form
1. Open Apache Netbeans and create a new
java with ant Applicatoin project.
2. Name that project “Calculator_ui”.
3. Create a form named “login”.
4. Design the UI by adding labels, buttons(login,
cancel), fields(Username, Password).
5. Right-Click on login button and select
Event>Action>jActionPerformed[jButtion1Acto
inPerformed]
6. Inside that Button Action add this code to
connect that form to database and fetch user
information and allow them to access the
system.
7. Similarly add logic to Cancel button
At this point, the login page is fully functional and
working. Now lets create the main Calculator
Application.
Creating Calculator Application
1. Create a Form named “Calculator”.
2. Add UI elements that a calculator has.
Programing:-
After writing this code, Your calculator will be
fully working.
BIBLOGRAPHY
The development of this calculator project was
carried out with the help of various learning
resources. The primary reference was the
Information Technology (Code 802) – Class 12
textbook published by CBSE, which provided
valuable guidance on programming fundamentals,
GUI design, and project documentation.