A modern scientific calculator built with Java Swing
The Advanced Calculator is a Java Swing-based scientific calculator with a sleek dark-themed UI. It supports standard arithmetic operations, trigonometric functions, memory storage, and history tracking. The UI is designed with custom-styled rounded buttons and mimics the functionality of the ASUS laptop calculator.
- 🧮 Basic Arithmetic: Addition ➕, Subtraction ➖, Multiplication ✖️, Division ➗
- 📐 Scientific Functions:
sin,cos,tan,cot,sec,csc,log,sqrt - 🔢 Power & Parentheses: Supports exponentiation (
^) and parentheses ((, )) - 💾 Memory Functions:
M+(Store value),MR(Recall value) - 📜 History Tracking: Stores past calculations and displays them
- 🎨 Dark-Themed UI: Modern design with rounded buttons
- ⌨️ Keyboard Support (Planned Feature)
- 🎭 Customizable Themes (Planned Feature)
- 📈 Graphing Capabilities (Planned Feature)
- 📝 Multi-Line Expression Input (Planned Feature)
Before running the Advanced Calculator, ensure you have the following installed:
- ☕ Java Development Kit (JDK) (version 8 or later)
- 🖥️ A Java IDE or terminal to compile and run Java programs
- Clone the repository:
git clone https://github.com/Code-master-pragyan/Java-Advanced-Calculator.git
- Navigate to the project directory:
cd AdvancedCalculator - Compile the Java program:
javac AdvancedCalculator.java
- Run the application:
java AdvancedCalculator
AdvancedCalculator/
│── docs/
│ │── .gitkeep
│ │── ADVANCED SCIENTIFIC CALCULATOR.pptx
| |── adv_calculator.mp4
│── AdvancedCalculator.java
│── README.md
🖼️ The calculator has a grid layout with buttons for all supported functions. The design ensures easy readability and accessibility.

- 📈 Graphing mode for functions like
y = sin(x) - ⌨️ Keyboard shortcut support
- 🛠️ Improved error handling and input validation
- 🎭 Customizable themes
- 📝 Multi-line expression input
- 🔬 Support for additional mathematical functions
- 🔗 Integration with external libraries for enhanced computations
🙌 Contributions are welcome! Feel free to open issues or submit pull requests.
For any questions or suggestions, contact: sonydeb158@gmail.com 📧