Skip to content

๐Ÿงฎ A simple yet powerful Java-based calculator application built with Swing and AWT ๐Ÿ–ฅ๏ธ. It provides a user-friendly interface and supports basic arithmetic operations with error handling โž•โž–โœ–๏ธโž—.

Notifications You must be signed in to change notification settings

Iqbolshoh/java-calculator-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฎ Java Calculator App

Banner

๐Ÿ“Œ Overview ๐Ÿ“

This is a simple Java-based Calculator built using Swing ๐Ÿ—๏ธ for the graphical user interface (GUI). The calculator supports basic arithmetic operations โž•โž–โœ–๏ธโž—.

๐ŸŽฏ Features ๐ŸŒŸ

โœ… User-Friendly Interface โ€“ Responsive buttons ๐ŸŽ›๏ธ and a clean design ๐Ÿงผ.
โœ… Basic Arithmetic Operations โ€“ Supports +, -, *, and / ๐Ÿงฎ.
โœ… Clear Function (C) โ€“ Resets the display and stored values โ™ป๏ธ.
โœ… Result Calculation (=) โ€“ Computes the entered mathematical expression ๐Ÿ†.
โœ… Error Handling โ€“ Prevents division by zero โŒโž—0.

๐Ÿ›  Technologies Used ๐Ÿ’ป

๐Ÿ”น Java Swing โ€“ For the graphical user interface ๐Ÿ–ฅ๏ธ.
๐Ÿ”น Java AWT โ€“ For event handling and layout management โšก.

๐Ÿš€ How to Run ๐Ÿƒ๐Ÿ’จ

1๏ธโƒฃ Clone the Repository ๐Ÿ“‚:

git clone https://github.com/iqbolshoh/java-calculator-app.git  
cd java-calculator-app  

2๏ธโƒฃ Compile the Program ๐Ÿ”ง:

javac Calculator.java  

3๏ธโƒฃ Run the Application ๐ŸŽฏ:

java Calculator  

๐Ÿ’ก Usage ๐Ÿ—๏ธ

๐Ÿ”ข Click on the numeric buttons (0-9) to enter numbers.
โž•โž–โœ–๏ธโž— Use arithmetic operator buttons (+, -, *, /) to perform operations.
โœ… Press = to compute the result.
โ™ป๏ธ Click C to reset the calculator.

Technologies Used

Java Swing AWT

๐Ÿค Contributing

๐ŸŽฏ Contributions are welcome! If you have suggestions or want to enhance the project, feel free to fork the repository and submit a pull request.

๐Ÿ“ฌ Connect with Me

๐Ÿ’ฌ I love meeting new people and discussing tech, business, and creative ideas. Letโ€™s connect! You can reach me on these platforms:

About

๐Ÿงฎ A simple yet powerful Java-based calculator application built with Swing and AWT ๐Ÿ–ฅ๏ธ. It provides a user-friendly interface and supports basic arithmetic operations with error handling โž•โž–โœ–๏ธโž—.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages