Self-Review Exercises

11.1Fill in the blanks in each of the following statements:
  1. Method ________ is called when the mouse is moved with no buttons pressed and an event listener is registered to handle the event.

  2. Text that cannot be modified by the user is called ________ text.

  3. A(n) ________ arranges GUI components in a Container.

  4. The add method for attaching GUI components is a method of class ________.

  5. GUI is an acronym for ________.

  6. Method ________ is used to specify the layout manager for a container.

  7. A mouseDragged method call is preceded by a(n) ________ method call and followed by a(n) ________ method call.

  8. Class ________ contains methods that display message dialogs and input dialogs.

  9. An input dialog capable of receiving input from the user ...

Get Java™ How to Program, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.