1 / 6

SEng 271 Week 4

SEng 271 Week 4. Java SWING a nd Model View Controller (MVC). Swing Basics. Two design p atterns you need to know MVC Publish Subscribe. MVC – Model View Controller. Controller. View. Model. Publish Subscribe. Object That Implements an Interface. Event Listeners

tanaya
Download Presentation

SEng 271 Week 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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 Controller View Model

  4. 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.

More Related