Calculator app built in Java.
Developed during an 8-week summer session Java Programming Course as a fun side-project to distract from assignments. Utilizes common implementations of Java libraries like frames, drawing, and button listening. Code written to be easily understandable and efficient for future use. All simple computations are allowed; addition, subtraction, multiplication, division, and exponentiation. Multiple operations can be performed, app allows negative values, as well as decimal values. Takes significant inspiration from Bro Code.
This project utilizes various tools and libraries, like the following:
- Java: Programming language to facilitate underlying logic.
- Swing (javax.swing): For building the graphical user interface.
- AWT (java.awt): For layout management and fonts.
- AWT Event (java.awt.event): For handling user interactions/events.
- Clone the repo
git clone https://github.com/jay-gleeson/java-app-calculator.git
cd java-app-calculator- Compile
javac -d out src/Calculator.java
- Run
java -cp out Calculator
- Implement Order of Operations: Include PEMDAS and perform operations in the order of operations.
- Smart Error Handling: Handle division by zero, and missing second number or operator.
- Add more Algebraic Expressions: Include log, ln, e, pi, fractions, etc..
This project is licensed under the MIT License.
