Preview

Understanding MVC and Swing Models

Powerful Essays
Open Document
Open Document
2893 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Understanding MVC and Swing Models
Swing Data Binding
Karsten Lentzsch www.JGoodies.com

Presentation Goals
Understand MVC and Swing models. Learn how to bind domain objects to Swing UI components.

:: JGOODIES :: Java User Interface Design

Speaker Qualifications
      Karsten builds elegant Swing apps works with Objects since 1990 helps others with UI and architectures provides libraries that complement Swing provides examples for Swing architectures writes about Java desktop issues

:: JGOODIES :: Java User Interface Design

Agenda
      Introduction MVC and Swing How to bind single values? How to bind lists A 3-tier Swing architecture How binding works in projects

:: JGOODIES :: Java User Interface Design

Swing Building Blocks
Application 1 Panels Utils Application 2 Help Printing Applications Helper Code/Libs Application Frame Basic Libraries Foundation

Components, Application Management, etc. Appearance Layout Binding Validation

JRE / Swing

:: JGOODIES :: Java User Interface Design

Swing Building Blocks
Application 1 Panels Utils Application 2 Help Printing Applications Helper Code/Libs Application Frame Basic Libraries Foundation

Components, Application Management, etc. Appearance Layout Binding Validation

JRE / Swing

:: JGOODIES :: Java User Interface Design

Questions
       Where do I find MVC in Swing? How to structure a Swing application? What is part of the model? How do I choose models? How to build a view? What does a controller do? Do I need controllers?
:: JGOODIES :: Java User Interface Design

I - Basics
MVC and Swing

:: JGOODIES :: Java User Interface Design

Before MVC
Painting Code State Operations (Control Behavior)
State

How to live without MVC?

:: JGOODIES :: Java User Interface Design

Before MVC: 2 Layers
Painting Code State Operations
State

Client

Server
:: JGOODIES :: Java User Interface Design

Separate Domain from Views
 Domain logic contains no GUI code 

You May Also Find These Documents Helpful

Related Topics