π± iPhone-Style Calculator (Pink Theme) π
A stylish, pink-themed calculator inspired by the iPhone design! π§‘ Built with Java Swing, this calculator performs basic arithmetic operations with a soft and aesthetic UI.
β¨ Features
- π iPhone-inspired UI with a soft pink color palette
- β β β β Basic arithmetic operations (addition, subtraction, multiplication, division)
- π Decimal support for accurate calculations
- π οΈ Clear (
AC), percentage (%), and sign toggle (+/-) buttons
- βΈοΈ Smooth number input handling
π οΈ Tech Stack
- Java Swing (GUI components)
- JLabel & JPanel (For display and layout)
- Action Listeners (For button interactions)
- GridLayout & BorderLayout (For layout design)
πΌοΈ Preview
_
_
π How to Run
- Clone the repository:
git clone https://github.com/SheilaNgetich/SimpleJavaCalculator.git
cd iPhone-style-calculator
- Compile and run the Java file:
javac Calculator.java
java Calculator
π’οΈ Future Improvements
β¨οΈ Add keyboard support for better usability
π¨ Improve button animations and hover effects
β¨ Implement memory functions (M+, M-, MR)
π Add a history feature to track past calculations
π Contributing
Feel free to fork this project and submit pull requests for improvements! π
π
License
This project is licensed under the MIT License.
Made with β€οΈ by Sheila Ngetich.