Next: First Swing programs
Up: The Basic MVC Model
Previous: The Basic MVC Model
Swing uses a simplified model of the MVC design: model-delegate
The MVC Swing Model
- Combines View and Controller into a single element -- the
UI-delegate
- Easy to bundle graphics and event handling in Java -- AWT.
- Model delegate interaction is now Two way.
- Model -- maintains information
- UI-delegate -- Draws and reacts to events that propagate through
component.
Dave Marshall
4/14/1999