Skip to content

A beginner-friendly Java Swing desktop application that performs the addition of two numbers entered by the user. The app provides a simple graphical user interface (GUI) to input numbers and view the result instantly.

Notifications You must be signed in to change notification settings

hema-priya-vadivel/Addition-of-numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

➕ Addition of Numbers

A beginner-friendly Java Swing desktop application that performs the addition of two numbers entered by the user. The app provides a simple graphical user interface (GUI) to input numbers and view the result instantly.

🔧 Features

  • Input two numbers
  • Display the result of their addition
  • Clear button to reset inputs and result
  • Exit button to close the application
  • Built using Java Swing

🖥️ Addition of Numbers GUI

The application interface contains:

  • Two text fields for user input (Enter the First value and Enter the Second value)
  • A Result field to display the sum
  • Three buttons: Add, Clear, and Exit

Addition of Numbers GUI - 1


Addition of Numbers GUI - 1


🚀 How to Run

✅ Option 1: Clone and Run the Source Code

  1. Clone the repository:

    https://github.com/hema-priya-vadivel/Addition-of-numbers.git
    
  2. Open the project in your Java IDE (IntelliJ, Eclipse, etc.)

  3. Compile and run the NumberAddition.java file (located in the src folder)

  4. Enter two numbers, click Add, and see the result

  5. Use Clear to reset and Exit to close the app

✅ Option 2: Download & Run Application Directly

About

A beginner-friendly Java Swing desktop application that performs the addition of two numbers entered by the user. The app provides a simple graphical user interface (GUI) to input numbers and view the result instantly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages