Skip to content

singhayush1260/swing_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages