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

https://github.com/singhayush1260/swing_calculator

Basic Calculator Java Application Using Swing
https://github.com/singhayush1260/swing_calculator

calculator-application java javax-script javax-swing swing-components swing-gui

Last synced: 12 months ago
JSON representation

Basic Calculator Java Application Using Swing

Awesome Lists containing this project

README

          

# Basic Calculator App

This is a basic calculator application developed in Java using Swing and AWT for the graphical user interface (UI). The calculator allows you to perform simple arithmetic calculations and evaluates expressions using the `eval()` method from JavaScript.

## Features

- Addition, subtraction, multiplication, and division operations
- Evaluation of complex mathematical expressions
- Clear button to reset the calculator
- User-friendly and responsive UI

## Prerequisites

- Java Development Kit (JDK) installed
- Any IDE or text editor to run the Java code
- Basic knowledge of Java programming

## Getting Started

1. Clone the repository or download the source code.

2. Open the project in your preferred IDE or text editor.

3. Build and run the Java program to launch the calculator application.

4. Use the calculator UI to perform mathematical calculations and evaluate expressions.

## Dependencies

The calculator app does not have any external dependencies. It utilizes the built-in Java libraries for Swing, AWT, and the `javax.script` package for JavaScript evaluation.

## Screenshots
a
b
c
d

## Contributing

Contributions are welcome! If you have any suggestions, bug fixes, or improvements, feel free to open an issue or submit a pull request.

## License

MIT License