You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️NOTE: THIS IS A LEARNING PROJECT AND NOT A PRODUCTION-READY SOLUTION.
A simple calculator built using Java Swing with a clean GUI. This calculator performs basic arithmetic operations (addition, subtraction, multiplication, division) and uses Java's Stack for operator handling.
🖥️ Features
Basic arithmetic operations: +, -, *, /
Stack-based expression handling
Java Swing GUI with number and operator buttons
Supports decimal inputs
Displays result with smart formatting (rounded or decimal)
"C" button to clear the screen and reset memory
Screenshot
UI
Text UI
🛠️ Requirements
Java JDK 1.7 or later
NetBeans IDE 8.0.2 (or compatible IDE with JDK 1.7 support)
🚀 How to Run
Clone the repository
git clone https://github.com/Ritesh-9004/BasicCalculator-JavaSwing.git
cd JavaSwingCalculator
About
A basic Java Swing calculator using stack-based logic for learning GUI development.