Skip to content

Swif7ify/Advanced-Calculator-Made-in-Java-Swing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

155 Commits
 
 
 
 
 
 

Repository files navigation

🧮 Advanced Calculator

Made in Java Swing

Welcome to an advanced calculator built by TeamBa.
This project offers a wide range of mathematical functions, from basic arithmetic operations to complex notations and summations. The calculator is designed for infinite calculations with robust handling of various mathematical functions.


Note

Updated: Fixed Bugs 10-11-2024 3:50PM
Updated: Added 3 Answer holder 10-12-2024 12:06PM
Updated: Fixed Bugs 10-12-2024 1:57PM
Updated Fixed Bugs 10-13-2024 8:35AM
Updated Added XYZ navigation 10-13-2024 10:245AM
Updated Added backspace, delete and enter keyevent to trigger DEL_button, AC_button and equals_button 10-13-2024 11:25AM


✨ Features

This calculator supports a comprehensive set of features, including but not limited to:

  • Basic Operations: Addition, subtraction, multiplication, division.
  • Advanced Arithmetic: Mixed operations, integer and floating-point calculations.
  • Mathematical Functions:
    • Plus/Minus function
    • Floor, ceiling, and rounding calculations
    • Modulus and integer division
    • Factorial, square root, cube root, and nth root functions
    • Summation and product notation functions
    • Exponential calculations (X^Y, X^Y^Z)
    • Double summation and product notation
    • Logarithmic functions (logx, log(2)x, log(n)x)
    • Complex functions: a! + b! / a! / b!
    • ABCD variables for summation/product notation
    • Operations with ANS button
    • Custom number format button for precise outputs

📚 How to Use

Watch the video tutorial below for step-by-step guidance on using the calculator's features.

Calculator.How.to.Use_.mp4

⚙️ How to Run

Follow the steps below to run the calculator from your command line:

  1. Download or clone the repository

  2. Open the folder.

  3. In the folder's address bar, type cmd to open the command prompt.

  4. Navigate to the source directory by typing in cmd:

    cd Project/src
  5. In cmd type

    javac calculator/*.java
  6. Lastly type

    java calculator/Main.java


💡 Creating a JAR File

  1. Download or clone the repository.
  2. Navigate to the Project folder and create a MANIFEST.MF file:

Manifest Manifest


  1. Edit MANIFEST.MF
    • Put Manifest-Version: 1.0 and Main-Class: calculator.Main as shown in the image below Manifest

  1. Open cmd in the address bar
  2. In cmd type
    jar cvfm Calculator.jar MANIFEST.MF -C src .
  3. Open the .jar file with .zip
  4. Navigate to META-INF
  5. Click the MANIFEST.MF and make sure the Main-Class: calculator.Main is inside Manifest

OPTIONAL: Cut and paste the Jar file to any directory to separate the file.



🛠 Creating a Batch File

  1. Create a .bat file in the folder. Batch Creation
  2. Edit the .bat file using Notepad or another text editor.
    @echo off
    set JAR_PATH=C:\Users\earlo\OneDrive\Desktop\Runner\Calculator.jar
    start javaw -jar %JAR_PATH%
    pause
  • Run the .bat file and Enjoy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages