https://github.com/aboualine/gui
A simple GUI-based calculator built with Java Swing, supporting basic arithmetic operations (addition, subtraction, multiplication, and division). It features a clean interface, a responsive layout, and essential functions like decimal input, delete, and clear for easy calculations.
https://github.com/aboualine/gui
actionlistener-implementation basic-arithmetic-operations event-handling-in-java gridlayout-for-button-arrangement handling-user-input-in-java java-swing-gui-development jframe-and-jpanel-layout jtextfield-for-input-display simple-calculator-logic
Last synced: 9 months ago
JSON representation
A simple GUI-based calculator built with Java Swing, supporting basic arithmetic operations (addition, subtraction, multiplication, and division). It features a clean interface, a responsive layout, and essential functions like decimal input, delete, and clear for easy calculations.
- Host: GitHub
- URL: https://github.com/aboualine/gui
- Owner: aboualine
- License: mit
- Created: 2025-02-01T15:53:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-26T20:54:17.000Z (over 1 year ago)
- Last Synced: 2025-02-26T21:31:02.044Z (over 1 year ago)
- Topics: actionlistener-implementation, basic-arithmetic-operations, event-handling-in-java, gridlayout-for-button-arrangement, handling-user-input-in-java, java-swing-gui-development, jframe-and-jpanel-layout, jtextfield-for-input-display, simple-calculator-logic
- Language: Java
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Java Calculator
A basic calculator built using Java Swing, featuring a user-friendly graphical interface that supports basic arithmetic operations such as addition, subtraction, multiplication, and division.
**📌 Features**
✔️ GUI-based calculator using Java Swing
✔️ Supports addition (+), subtraction (-), multiplication (*), and division (/)
✔️ Decimal support for precise calculations
✔️ Clear (C) and Delete (Del) buttons for better usability
✔️ Responsive layout with a Grid-based number pad
**🛠️ Technologies Used**
Java (JDK 8+)
Swing (JFrame, JTextField, JButton, JPanel) for UI
**🚀 Installation & Usage**
1️⃣ Clone the repository
git clone https://github.com/your-username/java-calculator.git
cd java-calculator
2️⃣ Compile and Run
javac Calculator.java
java Calculator
**🖼️ Screenshot**

# Simple To-Do List App
A basic To-Do List application built with Java Swing.
**📌 Features**
- Add tasks
- Remove selected tasks
- Clear all tasks
- Simple and user-friendly interface
**🚀 How to Run**
1. Compile the code:
```sh
javac ToDoListApp.java
```
3. Run the application:
```sh
java ToDoListApp
```
**🖼️ Screenshot**
