Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayush272002/simple-calculator
A simple Calculator using javafx framework
https://github.com/ayush272002/simple-calculator
java javafx javafx-application javafx-desktop-apps javafx-gui javafx-project
Last synced: about 2 months ago
JSON representation
A simple Calculator using javafx framework
- Host: GitHub
- URL: https://github.com/ayush272002/simple-calculator
- Owner: Ayush272002
- License: mit
- Created: 2024-04-11T16:17:28.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-11T19:40:04.000Z (9 months ago)
- Last Synced: 2024-10-13T18:22:54.287Z (3 months ago)
- Topics: java, javafx, javafx-application, javafx-desktop-apps, javafx-gui, javafx-project
- Language: Java
- Homepage: https://openjfx.io/
- Size: 93.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JavaFX Calculator
This is a simple calculator application built using JavaFX. It performs basic arithmetic operations such as addition, subtraction, multiplication, and division.## Features
- **User-friendly Interface**: The calculator has a clean and intuitive user interface, making it easy to use for performing arithmetic calculations.
- **Basic Operations**: Supports addition, subtraction, multiplication, and division operations.
- **Error Handling**: Handles division by zero and invalid input formats gracefully, displaying appropriate error messages to the user.## Getting Started
### Prerequisites
- Java Development Kit (JDK) installed on your system.
- Apache Maven (optional, if you want to build the project using Maven).### Running the Application
1. Clone this repository to your local machine:
```bash
git clone https://github.com/Ayush272002/Simple-Calculator.git
```2. Open the project in your favorite Java IDE (preferred IntelliJ IDEA).
3. Build and run the [`MainWindow`](calculator/src/main/java/com/calculator/calculator/MainWindow.java) class.
4. The calculator application window should appear, allowing you to perform arithmetic calculations using the provided buttons.
### UI
![alt text](image-1.png)
## Usage- **Input**: Enter numbers and arithmetic operations using the buttons provided.
- **Operations**: Click on the appropriate operation buttons (`+`, `-`, `*`, `/`) to perform calculations.
- **Clear**: Click the "Clear" button to reset the calculator.
- **Error Handling**: If you input an invalid expression or attempt to divide by zero, an error message will be displayed.## Contributors
- [Ayush Acharjya](https://github.com/Ayush272002)
## License
This project is licensed under the [MIT License](LICENSE).