A modern desktop calculator built in Java (Swing).
Supports basic and chained arithmetic, decimals, reciprocal, and clear error handling.
- Intuitive, color-coded modern UI
- Chained calculations: "1+2*3-4/5"
- Supports decimal numbers
- Immediate error messages for invalid input (e.g. division by zero)
- Reciprocal button (
1/x) for quick calculations
- Download or clone this repo.
- Compile: javac Calculator.java
- Run: java Calculator