Apply Your Knowledge

Review Questions

1:What is a layout manager?
2:What advantage do Java's layout managers provide over traditional windowing systems?
3:What are the problems faced by Java programmers who don't use layout managers?
4:What method is used to specify a container's layout?
5:How are the elements of a BorderLayout organized?
6:How are the elements of a CardLayout organized?
7:How are the elements of a FlowLayout organized?
8:How are the elements of a GridLayout organized?
9:How are the elements of a GridBagLayout organized?
10:Which containers use a BorderLayout as their default layout?
11:Which containers use a FlowLayout as their default layout?
12:What is the preferred size of a component?

Exam Questions

1:The following is an example of ...

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams 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.