|11.4||Fill in the blanks in each of the following statements:
The JTextField class directly extends class ________.
Container method ________ attaches a GUI component to a container.
Method ________ is called when a mouse button is released (without moving the mouse).
The ________ class is used to create a group of JRadioButtons.
|11.5||Determine whether each statement is true or false. If false, explain why.
Only one layout manager can be used per Container.
GUI components can be added to a Container in any order in a BorderLayout.
JRadioButtons provide a series of mutually exclusive options (i.e., only one can be true at a time).
Graphics method setFont is used to set the font for text fields.
A JList displays a scrollbar if there are more items ...
Get Java™ How to Program, Seventh Edition now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.