Java, Java, Java
Krav for gennemførelse
16. Graphical User Interfaces
OBJECTIVES
After studying this chapter, you will
Gain more experience with the Swing component set.
Understand the relationship between the AWT and Swing.
Learn more about Java’s event model.
Be able to design and build useful Graphical User Interfaces (GUIs).
Appreciate how object-oriented design principles were used to extend Java’s GUI capabilities.
OUTLINE
Introduction
Java GUIs: From AWT to Swing
The Swing Component Set
Object-Oriented Design: Model-View-Controller Architecture
The Java Event Model
Case Study: Designing a Basic GUI
Containers and Layout Managers
Checkboxes, Radio Buttons, and Borders
Menus and Scroll Panes
Special Topic: Are Computers Intelligent?
Chapter Summary
Solutions to Self-Study Exercises Exercises
591