Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whdhdyt21/java-calculator-gui-mvc
Java Calculator is a simple yet effective calculator application built using Java Swing for the graphical user interface and the Model-View-Controller (MVC) design pattern for a clean separation of concerns.
https://github.com/whdhdyt21/java-calculator-gui-mvc
calculator gui-application java mvc-architecture
Last synced: about 1 month ago
JSON representation
Java Calculator is a simple yet effective calculator application built using Java Swing for the graphical user interface and the Model-View-Controller (MVC) design pattern for a clean separation of concerns.
- Host: GitHub
- URL: https://github.com/whdhdyt21/java-calculator-gui-mvc
- Owner: whdhdyt21
- Created: 2023-11-12T15:42:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-21T17:15:15.000Z (8 months ago)
- Last Synced: 2024-05-21T18:32:55.174Z (8 months ago)
- Topics: calculator, gui-application, java, mvc-architecture
- Language: Java
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java Calculator with GUI and MVC Model
## Overview
Java Calculator is a simple yet effective calculator application built using Java Swing for the graphical user interface and the Model-View-Controller (MVC) design pattern for a clean separation of concerns.## Features
1. **User-Friendly GUI**: The application offers an intuitive graphical interface for easy interaction.
2. **MVC Architecture**: Ensures a well-structured codebase with clear separation between the data (Model), the user interface (View), and the control logic (Controller).
- **Model (CalculatorModel.java)**: Manages the data and business logic.
- **View (CalculatorView.java)**: Handles the display and user interactions.
- **Controller (CalculatorController.java)**: Manages the flow of data and updates the view based on user inputs.## Getting Started
### Prerequisites
- Java Development Kit (JDK)### Installation
1. Clone the repository:
```bash
git clone https://github.com/whdhdyt21/Java-Calculator-GUI-MVC.git
```
2. Navigate to the project directory:
```bash
cd Java-Calculator-GUI-MVC/src/calculator
```### Compilation
Compile the Java files:
```bash
javac *.java
```### Running the Program
Run the application:
```bash
java CalculatorMain
```## Usage
Follow the on-screen instructions within the GUI to perform basic arithmetic operations. The program is designed to be user-friendly with clear prompts for each action.## Contributing
Contributions are welcome! Please fork this repository and submit a pull request for any enhancements or bug fixes.1. Fork the repository.
2. Create a new branch (`git checkout -b feature/your-feature`).
3. Commit your changes (`git commit -am 'Add new feature'`).
4. Push to the branch (`git push origin feature/your-feature`).
5. Create a new Pull Request.## Acknowledgements
Thanks to everyone who has contributed to this project and helped improve it.---
Feel free to customize this README according to your specific requirements and repository structure.