![]() Using this way, Swing has pluggable look-and-feel architecture.Įvery user interface considers the following three main aspects: Swing component have Model as a seperate element and View and Controller part are clubbed in User Interface elements.Controller takes the input from the user on the view and reflects the changes in Component’s data.View represents visual representation of the component’s data.Swing API architecture follows loosely based MVC architecture in the following manner. The javax.swing package provides classes for java swing API such as JButton, JTextField, JTextArea, JRadioButton, JCheckbox, JMenu, JColorChooser etc. Unlike AWT, Java Swing provides platform-independent and lightweight components. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |