This project is to develop a calculator application to calculate standard deviation function.
Install Java 8 or above.
Build : 1.0.1
Recent Bug Fizes:
- Resolve division by zero error.
-
IDE
- Import Project into IDE.
- Build the project
-
Command Line
- Go to SOEN6011-Eternity directory
- Type the following command
javac -d "classes" src/app/App.java src/app/AppFrame.java src/math/Statistics.java
-
Double click the Calculator-1.0.1.jar
-
Command line - Running Jar file
java -jar Calculator-1.0.1.jar
Note: Calculator-1.0.1.jar located in the target folder.
-
IDE
- Run the project from IDE by selecting App.java as main application.
-
Command Line - Running App.java
- After the compilation is successfull though command line. Run the following command.
java -classpath "classes" app.App
- After the compilation is successfull though command line. Run the following command.
-
Enter numbers in comma separated format in the textfield and click calculate.
-
Upload a file with numbers where each number is on a separate line and click calculate.
Note: The input is text field is given preference over the file input. Keep the textfield blank while using File as input.
-
src : contains source code of the project.
- app : package contains code for User Interface in AppFrame.java and main method in App.java
- math : package contains Statistics.java which has implementaiton and supporting function for standard deviation.
- test : package contains unit test file for Statistics.java
-
resources : contains resources for the project
- input : contains sample input file with approximately 1 million records
- images : contains images used in README.md
-
target : contain final artifact Calculator-1.0.1.jar
-
doc : contain javadoc file. Run index.html to view javadoc.