Skip to content

This Java program creates a simple graphical calculator using Swing GUI components. The calculator has buttons for digits, decimal point, arithmetic operations (addition, subtraction, multiplication, division), and additional functions (equals, delete, clear, and negate).

Notifications You must be signed in to change notification settings

viniciusvk1/Java-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Java Calculator

This is a basic calculator project in Java with a graphical user interface created using the Swing library.

Features

The calculator has the following features:

Addition, subtraction, multiplication, and division operations. Decimal point and negative number input. Clear and delete functions. Continuous calculation by pressing equals multiple times.

How to Use

Simply click the buttons on the calculator interface to input numbers and operations, and the result will be displayed in the text field. Use the clear and delete buttons to modify inputs, and press equals to perform the calculation.

Future Improvements

Future improvements to this project could include adding more advanced mathematical operations, support for keyboard input, and a more user-friendly interface design.

Contributing

Contributions are welcome! If you find a bug or have a feature request, please open an issue or submit a pull request.

Image of the program running

Calculator

About

This Java program creates a simple graphical calculator using Swing GUI components. The calculator has buttons for digits, decimal point, arithmetic operations (addition, subtraction, multiplication, division), and additional functions (equals, delete, clear, and negate).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages