
872 CHAPTER 12 Graphical User Interfaces
12.18.1 Multiple Choice Exercises
Questions 5,6,7,8
12.18.2 Reading and Understanding Code
Questions 16,19,20,21,22,23,24,25,26
12.18.3 Fill In the Code
Questions 28,29,31,32
12.18.4 Identifying Errors in Code
Questions 43,44,45
12.18.5 Debugging Area
Questions 49,50
12.18.6 Write a Short Program
Questions 51,52,53,54,55,56,57
Skill Practice
with these end-of-chapter questions
53 VacationSpecials vs = new VacationSpecials( "specials.txt" );
54 vs.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
55 }
56 }
EXAMPLE 12.11 The VacationSpecials class
12.11 Adapter Classes
We have learned that events are associated with event listener ...