How does the MVC architecture work in Swing?
The Swing components actually make use of a simplified variant of the MVC model called model-delegate. This design combines the view and controller objects into a single element that draws the component to the screen and handles GUI events know as the user interface (UI) delegate. Bundling of the graphics capabilities and event handling in Swing components makes sense in Java because most of the event handling is taken care of by the AWT. A second purpose of the UI delegate is to react to various events that propagate through the component.