O'Reilly logo

Java, A Beginner’s Guide, 5th Edition by Herbert Schildt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Image Chapter 15 Self Test

1. In general, AWT components are heavyweight and Swing components are ____________.

2. Can the look and feel of a Swing component be changed? If so, what feature enables this?

3. What is the most commonly used top-level container for an application?

4. Top-level containers have several panes. To what pane are components added?

5. Show how to construct a label that contains the message “Select an entry from the list”.

6. All interaction with GUI components must take place on what thread?

7. What is the default action command associated with a JButton? How can the action command be changed?

8. What event is generated when ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required