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!