dancoon / Calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swing Calculator

The Swing Calculator is a sleek and user-friendly calculator application developed using Java Swing. It offers a visually pleasing interface for performing basic arithmetic operations, making calculations a breeze.

Calculator Screenshot

Features

  • Intuitive Interface: A clean and user-friendly graphical interface designed for ease of use.
  • Arithmetic Operations: Perform addition, subtraction, multiplication, and division with just a click.

Getting Started

Prerequisites

Running the Calculator

  1. Clone the repository:

    git clone "https://github.com/dancoon/Calculator.git"
  2. Navigate to the project directory:

    cd Calculator
  3. Compile and run the application:

    javac -d out src/Calculator.java src/Math.java
    java Calculator

Usage

  1. Numeric Input:

    • Use the numeric keypad to input numbers.
  2. Performing Operations:

    • Click the operation buttons (+, -, *, /) to perform calculations.
  3. Clear Input:

    • Press the "AC" button to clear the input and start a new calculation.

Screenshots

Calculator Screenshot

Contributing

I welcome contributions! If you'd like to contribute to this project, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix: git checkout -b feature/my-feature.
  3. Make your changes and commit them: git commit -m 'Add new feature'.
  4. Push to your fork: git push origin feature/my-feature.
  5. Create a pull request.

Acknowledgments

  • Special thanks to the Swing library for providing a robust GUI framework.

Author

About


Languages

Language:Java 100.0%