An Introduction to Object-Oriented Programming
By Timothy Budd
Study Guide for Chapter 19
After reading this chapter, you should be able to:
Understand the basic idea of an application framework.
Understand how application frameworks are specialized, using inheritance,
to create a new
application, and how this simplfies the development of new programs.
Understand the idea of event-driven execution, and contrast this with
the execution of a conventional program.
Understand the structure of the Little Application Framework, and
know how to build a simple application using the LAF.
You may wish to use the print or save as command
on your web browser to produce a copy of this study guide.
That way you can fill in the answers to the questions as part of
your assimilating the information you learn as you read the material.
What is an application framework?
What do the letters GUI stand for?
What are the components of the graphical user interface provided by the LAF?
How are GUI application frameworks specialized for each new application?
What does it mean to say that an event-driven program is reactive
rather than proactive?
In what way does
the term ``upside down library'' seem to describe an application framework?
What are the three types of methods found in an application framework?
Give an example of each from the methods described for the class
application in the LAF.
What are methods in the class application that the user would likely
want to redefine? What are methods that are probably not going to be
Trace the flow of control through the various classes from the time the
user presses a button on the screen until the program returns to wait
for the next event. Assume the programmer issues an update at the
end of the mouse down routine, to force the screen to be repainted.
Timothy Budd, 1995.