mohitsainiknl / MSCalculator

This calculator effectively helps keen java beginners to know how this works with managed file and directory structure (Developed in JavaSE using the Swing Framework)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MSCalculator

Give a ⭐ if you like it!

Screenshot of MSCalculator

Overview :

MSCalculator is a beginner-friendly java swing project, in which every method handle one particular task, every class handle one particular process and every package handle a part of this Calculator, besides this, every method, class and package has the documentation comment; which help me and other programmers to know the functionality. All the calculation are done with help of the BigInteger and BigDecimal classes (So, there is no-any limit on the range of the integer or decimal). This calculator has Theme.java and Style.java interface which help to make any no. of themes and Styles for this project. The layout statements have reduced by using GridBagPanel.java and make the code simpler. There are Assertions (added with the help of Assertion.java) also in the code,

Example

if(age <= 0) {
    Assertion.throwErrorMessage(new Throwable("Wrong age filled!"));
    return;
}

Output

if the assertions are enabled.

Wrong age filled!
        at com.gmail.mohitsainiknl2.Project.agechecker(Project.java: 120)

which help in the debugging process.

In Command Prompt:

  • Enable Assertions

Simply by adding -ea to -enableassertions as vm argument at run configurations as

C:\> java -enableassertions -jar MSCalculator.jar


Technical Details :

  • Full Setup Size : 1.62 MB
  • Programming Language : Java (JavaSE)
  • Framework Used : AWT and Swing
  • Encoding Used : UTF-8



System Requirements :

  • Operating System : Any (Platform Independent)
  • JRE version : 1.8.0 or higher
  • Development Environment : VS Code, Eclipse, IntelliJ IDEA



Downloads :

1. Entire Repository

https://github.com/mohitsainiknl/MSCalculator/archive/refs/heads/master.zip

2. JAR File (Executable)

https://github.com/mohitsainiknl/MSCalculator/blob/master/publish/MSCalculator.jar

3. .exe File for Windows (not independent, require JRE to run)

https://github.com/mohitsainiknl/MSCalculator/blob/master/publish/MSCalculator.exe


"Suggestions and project Improvements are Invited!"
Thanks a lot
Mohit Saini

About

This calculator effectively helps keen java beginners to know how this works with managed file and directory structure (Developed in JavaSE using the Swing Framework)

License:MIT License


Languages

Language:Java 100.0%