gnikkoch96 / Java-Calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java-Calculator

This is a calculator that is fully coded in java where the frontend uses the Swing framework. It also uses a dependencies that allow calculation based on a string expression. This calculator supports most of the features of a basic scientific calculator. At the moment it can not calculate sin, cos, tan. The reason I created this project was to enhance my experience of using Java, the Swing framework, and learning how to add dependencies to projects using Maven.

Dependencies

  • StringUtils.isNumeric(String) - is used in the project to help determine if the user had entered a valid integer
  • Math Parser - used to parse through the string expression and calculate said expresion
    • This dependency really made my project. If it weren't for this parser, I would have had to create a class like an ArithmeticManager that activates a method based on a button press
    • One thing that I could say about this parser is that the website seems outdated and kind of messy which made it troubling to look for the things I wanted

Try it out yourself

In the root directory there is a jar file that you can execute.

About


Languages

Language:Java 100.0%