A simple desktop calculator application built using Java Swing and AWT. This project performs basic arithmetic operations with a graphical user interface.
- Addition (+)
- Subtraction (-)
- Multiplication (×)
- Division (÷)
- Decimal number support
- Clear option
- Exit option
- Menu bar functionality
- User-friendly GUI
- Java
- Swing
- AWT
- Event Handling (ActionListener)
java-calculator │ ├── calculator.java ├── README.md ├── .gitignore └── LICENSE
-
Open the project in any Java IDE (VS Code )
-
Compile the file:
javac calculator.java
-
Run the program:
java calculator
Snehal Tanpure
- Scientific calculator functions
- Improved UI using GridLayout
- Dark theme version
- Better error handling (e.g., divide by zero handling)
⭐ If you like this project, feel free to give it a star!