
10.2 Graphics Using Swing Components
Model: This model is also called object model
• Deals with the behaviour and data of the application domain
• Handles requests for information about its state from the view
• Responds to change state requests from the controller
• Notifies listeners, part of views, when the information changes so that they can react
View: The way application is represented to the user, say interfaces.
• View model is a user interface element.
• Multiple views can exist for a single model for different purposes.
• A display surface is attached with each view and necessary drivers are available.
Controller: This is the model ...