Podcast
Questions and Answers
What is the default layout used by JPanel and Applet?
What is the default layout used by JPanel and Applet?
- FlowLayout (correct)
- CardLayout
- GridLayout
- BorderLayout
Which component class cannot be added to an applet?
Which component class cannot be added to an applet?
- Checkbox
- ScrollPane
- Label
- Menu (correct)
What does a checkbox consist of?
What does a checkbox consist of?
- Combination of a small triangle and a Label
- Combination of a large box and a Label
- Combination of a small circle and a Label
- Combination of a small box and a Label (correct)
What does a Frame's ContentPane designate?
What does a Frame's ContentPane designate?
What does a JCheckBoxMenuItem represent?
What does a JCheckBoxMenuItem represent?