Presentation is loading. Please wait.

Presentation is loading. Please wait.

Java SWING and Model View Controller (MVC)

Similar presentations


Presentation on theme: "Java SWING and Model View Controller (MVC)"— Presentation transcript:

1 Java SWING and Model View Controller (MVC)
SEng 271 Week 4 Java SWING and Model View Controller (MVC)

2 Swing Basics Two design patterns you need to know MVC
Publish Subscribe

3 MVC – Model View Controller

4 That Implements an Interface
Publish Subscribe Object That Implements an Interface Event Listeners Lists of Event Listeners

5 Getting the Code Download the JAR Start a new Java Project in Eclipse
Import the JAR by using the “Archive” option in the src folder context menu

6 Quick Run through of the app
What it does The three components The tasks Implement a new View that provides a visual representation of the result Implement a new Controller that multiplies instead of adding Implement a new Controller and a new view that support division (including floating point). Also update the existing views and model to support the new operation.


Download ppt "Java SWING and Model View Controller (MVC)"

Similar presentations


Ads by Google