Chapter 11.0
Transcript of Chapter 11.0
Contents
Simple GUI I/O
Customizing Frame Windows
Layout Manager
Text Related and Other GUI Components
Event Handler
Learning Goals
Define a subclass of JFrame to implement a customized frame window.
Write event-driven programs using Java's delegation-based event model
Arrange GUI objects on a window using layout managers and nested panels
Write GUI application programs using JButton, JLabel, ImageIcon, JTextField, JTextArea, JCheckBox, JRadioButton, JComboBox, JList, and JSlider objects from the javax.swingpackage
Write GUI application programs with menus
Differentiate the use of event handling for each component.
Apply appropriate event handling based on given problem.
Transform program from java application to java applet and vice versa.