Week 12 Test Review Flashcards
BorderLayout is the default layout manager for a JFrame’s content pane.
True
When the mouse cursor is moved into the bounds of a GUI component, methodmouseOver is called.
False, method mouseEntered is called.
A JPanel cannot be added to another JPanel.
False
In a BorderLayout, two buttons added to the NORTH region will be placed side by side.
False
A maximum of five components can be added to a BorderLayout.
True
Inner classes are not allowed to access the members of the enclosing class.
False, Inner classes have access to all members of the enclosing class declaration.
A JTextArea’s text is always read-only.
False, JTextAreas are editable by default.
Class JTextArea is a direct subclass of a class Component.
False
A JPanel is a JComponent.
True
A JPanel is a Component.
True
A JLabel is a Container.
True
A JList is a JPanel.
False
An AbstractButton is a JButton.
False, a JButton is an AbstractButton.
A JTextField is an Object.
True
ButtonGroup is a subclass of JComponent.
False