Self-Review Exercises
12.1 Fill in the blanks in each of the following statements:
a) Method ______ is called when the mouse is moved with no buttons pressed and an event listener is registered to handle the event.
b) Text that cannot be modified by the user is called ______ text.
c) A(n) ______ arranges GUI components in a Container.
d) The add method for attaching GUI components is a method of class ______.
e) GUI is an acronym for ______.
f) Method ______ is used to specify the layout manager for a container.
g) A mouseDragged method call is preceded by a(n) ______ method call and followed by a(n) ______ method call.
h) Class ______ contains methods that display message dialogs and input dialogs.
i) An input dialog capable of receiving input ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access