This is a simple calculator project built with Java. The main purpose of this project is to practice and strengthen my Java programming skills, especially object-oriented programming, class separation, and GUI development.
I built this project to get more comfortable with Java by creating a practical program instead of only writing small code snippets. The goal was to understand how different parts of a Java application work together, including the main program, GUI class, and separate operation classes.
Over time, I plan to expand this project from a basic calculator into a scientific calculator with more advanced mathematical functions. This will help me continue practicing Java concepts such as object-oriented design, event handling, GUI layout management, and code organization.
- Addition
- Subtraction
- Multiplication
- Division
- Simple Java Swing GUI
- Separate classes for each calculator operation
- Clean project structure
Some improvements I plan to add later include:
- Decimal number support
- Backspace button
- Keyboard input support
- Better GUI styling
- Percentage operation
- Square root
- Exponents and powers
- Trigonometric functions like sine, cosine, and tangent
- Logarithmic functions
- A full scientific calculator mode