Understanding the Predefined Data Models: Swing Component Models : Swing Introduction « Swing « Java Tutorial






Component         Data Model(Interface)                Implementations

   AbstractButton    ButtonModel                          DefaultButtonModel

   JColorChooser     ColorSelectionModel                  DefaultColorSelectionModel
   JComboBox         ComboBoxModel                        N/A
                     MutableComboBoxModel                 DefaultComboBoxModel

   JFileChooser      ListModel                            BasicDirectoryModel

   JList             ListModel                            AbstractListModel
                                                          DefaultListModel  
                     ListSelectionModel                   DefaultListSelectionModel

   JMenuBar          SingleSelectionModel                 DefaultSingleSelectionModel

   JPopupMenu        SingleSelectionModel                 DefaultSingleSelectionModel

   JProgressBar      BoundedRangeModel                    DefaultBoundedRangeModel

   JScrollBar        BoundedRangeModel                    DefaultBoundedRangeModel

   JSlider           BoundedRangeModel                    DefaultBoundedRangeModel

   JSpinner          SpinnerModel                         AbstractSpinnerModel

                                                          SpinnerDateModel  
                                                          SpinnerListModel                     
                                                          SpinnerNumberModel
   JTabbedPane       SingleSelectionModel                 DefaultSingleSelectionModel
   JTable            TableModel                           AbstractTableModel
                                                          DefaultTableModel
                     TableColumnModel                     DefaultTableColumnModel
                     ListSelectionModel                   DefaultListSelectionModel
   JTextComponent    Document                             AbstractDocument
                                                          PlainDocument
                                                          StyledDocument
                                                          DefaultStyleDocument
                                                          HTMLDocument
   JToggleButton     ButtonModel                          ToggleButtonModel
   JTree             TreeModel                            DefaultTreeModel
                     TreeSelectionModel                    DefaultTreeSelectionModel
                                                          JTree.EmptySelectionModel








14.1.Swing Introduction
14.1.1.Swing MVC
14.1.2.Swing components
14.1.3.Understanding the Predefined Data Models: Swing Component Models
14.1.4.Small Swing ApplicationSmall Swing Application
14.1.5.Swing Constants
14.1.6.Swing Worker from JDK 6 SE
14.1.7.Get position of component