Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/proddeha/calculator-in-java-swing

Calculator Made With Java FX For Basic Arithmetic Operations
https://github.com/proddeha/calculator-in-java-swing

java javafx javafx-application

Last synced: about 2 months ago
JSON representation

Calculator Made With Java FX For Basic Arithmetic Operations

Awesome Lists containing this project

README

        

# Calculator

## Overview

Calculator is a Java application developed to perform basic arithmetic operations such as addition, subtraction, multiplication, and division. This project demonstrates the use of Java for building a simple yet functional desktop application.
This Project was in my 2 first months into Java!

![image](https://github.com/proddeha/Calculator-In-Java-Swing/assets/119131830/67c5281d-8209-4001-9f20-415404083dc3)

## Features

- **User Interface:**
- Simple and intuitive UI designed using Java Swing.
- Buttons for digits and basic arithmetic operations.
- **Core Functionality:**
- Supports addition, subtraction, multiplication, and division.
- Error handling for invalid operations (e.g., division by zero).

## Technologies Used

- **Programming Language:** Java
- **Frameworks and Libraries:** Swing for GUI
- **Tools:** Apache NetBeans

## Installation

1. Clone the repository:
```bash
git clone https://github.com/proddeha/Calculator-In-Java-Swing.git
cd Calculator-In-Java-Swing
```

2. Open the project in your preferred Java IDE (e.g., IntelliJ IDEA or Eclipse).

3. Build the project:
```bash
./gradlew build
```

4. Run the application:
```bash
./gradlew run
```

## Usage

- Launch the application from your IDE or using the `./gradlew run` command.
- Use the buttons on the calculator to perform basic arithmetic operations.

## Contributing

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Make your changes and commit them (`git commit -m 'Add new feature'`).
4. Push to the branch (`git push origin feature-branch`).
5. Create a Pull Request.

## Contact

For any questions or inquiries, please contact [Your Name] at [[email protected]].