Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 811 Bytes

File metadata and controls

29 lines (21 loc) · 811 Bytes

Calculator Java

Java Swing calculator application implementing MVC (Model-View-Controller) architecture.

The project implements a graphical user interface with Java Swing and separates the business logic, user interface, and event handling into different layers.

Structure

  • Model: Handles calculation logic, operations, and application state.
  • View: Manages the graphical user interface and user interaction.
  • Controller: Handles user actions and connects the View with the Model.

Features

  • Basic arithmetic operations:
    • Addition
    • Subtraction
    • Multiplication
    • Division
  • Decimal number support
  • Error handling
  • Repeated operations using the previous operand
  • Clean separation of responsibilities using MVC pattern

Technologies

  • Java
  • Java Swing
  • MVC Pattern