Skip to content

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.

Notifications You must be signed in to change notification settings

whdhdyt21/Java-Calculator-GUI-MVC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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:
    git clone https://github.com/whdhdyt21/Java-Calculator-GUI-MVC.git
  2. Navigate to the project directory:
    cd Java-Calculator-GUI-MVC/src/calculator

Compilation

Compile the Java files:

javac *.java

Running the Program

Run the application:

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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Languages