Java Swing Roots in MVC
by, 04-26-2012 at 08:35 PM (575 Views)
In MVC i.e. Model view controller design, swing architecture has been rooted which dates back, to SmallTalk. MVC calls visual applications to be separately broken into 3 parts:
- A Model- to present data, for application.
- The view which is data’s the representation.
- A controller – to take user input & translates them into changes present in model.
MVC was considered as a logical choice earlier for Swing as bas was provided to meet up 1st three design goals, by staying within the latter two’s bounds.
Traditional MVC separation was followed by 1st Swing prototype, where every component consisted of a mode object. Its look & feel implementation was delegated to separate the controller objects & view.