May 15, 2021 SWING
Swing API is a set of extensable GUI components that are used to create JAVA-based front-end/GUI applications. I t is built on the AWT API and serves as an alternative to the AWT API because almost every control corresponds to the AWT control. Swing components follow the model-view-controller architecture to meet the following guidelines.
A single API is sufficient to support multiple looks and styles.
APIs are impersonation-driven, so that the highest-level APIs do not require data.
The Swing API architecture follows a loose MVC-based architecture in the following ways.
The model represents the data for the component.
Views represent a visual representation of component data.
The controller accepts the user's input on the view and reflects changes in the component's data.
Lightweight - Swing components are APIs for stand-alone local operating systems because Swing API controls are typically rendered using pure JAVA code rather than underlying operating system calls.
Rich controls -- Swing provides a rich set of advanced controls such as trees, tab forms, sliders, color selectors, and table controls
Advanced customization -- Swing controls can be customized in a very simple way because the visual appearance is represented independently of the internal.