Skip to content

I developed a calculator application using Java Swing as part of my Java Fundamentals. This project helped me understand the basics of GUI programming in Java. Technologies Used: Java and Java Swing for the GUI. Features: Basic arithmetic operations: addition, subtraction, multiplication, and division. Clear and user-friendly interface.

Notifications You must be signed in to change notification settings

UmangSingh-2004/CalculatorApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Calculator App

A simple Calculator Application built using Java Swing. This calculator provides basic arithmetic operations such as addition, subtraction, multiplication, and division, with an easy-to-use graphical user interface (GUI).

Features

  • Basic Arithmetic Operations: Perform addition, subtraction, multiplication, and division.
  • Clear Function: Reset the current calculation.
  • Real-Time Calculation: Displays input and results immediately on the screen.

Technology Stack

  • Java Swing: Used for building the user interface.
  • Java: Core language for implementing the logic behind the calculator.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Java Development Kit (JDK) version 8 or later
  • An IDE such as IntelliJ IDEA, Eclipse, or *NetBeans

Usage

  1. Open the Calculator application.

  2. Use the on-screen buttons .

  3. The calculator supports the following functions:

    • Addition: +
    • Subtraction: -
    • Multiplication: *
    • Division: /
    • Clear: C button resets the calculation.
    • Equals: = button to calculate the result.
  4. Results are displayed in real-time as you type.

Example

Here is an example of how you can use the calculator:

  • Input: 5 + 3 * 2
  • Result: 11 (following the order of operations)

About

I developed a calculator application using Java Swing as part of my Java Fundamentals. This project helped me understand the basics of GUI programming in Java. Technologies Used: Java and Java Swing for the GUI. Features: Basic arithmetic operations: addition, subtraction, multiplication, and division. Clear and user-friendly interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages