![]() View represents visual representation of the component’s data.Swing API architecture follows loosely based MVC architecture in the following manner. ![]() Unlike AWT, Java Swing provides platform-independent and lightweight components. The javax.swing package provides classes for java swing API such as JButton, JTextField, JTextArea, JRadioButton, JCheckbox, JMenu, JColorChooser etc. API is to use the Java Bean model so that Builder Tools and IDE can provide better services to the developers to use it.API is to model driven so that highest level API is not required to have the data.A single API is to be sufficient to support multiple look and feel.Swing component follows a Model-View-Controller architecture to fulfill the following criteria. ![]() It is build upon top of AWT API and acts as replacement of AWT API as it has almost every control corresponding to AWT controls. Swing API is set of extensible GUI Components to ease developer’s life to create JAVA based Front End/ GUI Applications. JAVA provides a rich set of libraries to create Graphical User Interface in platform independent way. Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit (AWT). It is part of Oracle’s Java Foundation Classes (JFC) – an API for providing a graphical user interface (GUI) for Java programs.
0 Comments
Leave a Reply. |