Objectives |
|
The Swing user interface components are implemented using variations of the MVC architecture . You have used simple Swing components without concern for their supporting models, but in order to use advanced Swing components, you have to use their models to store, access, and modify data. This chapter introduces the MVC architecture and Swing models. Specifically, you will learn how to use the models in JSpinner , JList , and JComboBox . The next chapter will introduce JTable and JTree .