Java Reference
In-Depth Information
d. Components with BoxLayout receive their preferred height or width, depending
on the axis.
e. The order in which components are added to a container with GridLayout does
not affect where they appear in the grid.
f. You can add at most only five components to a container with BorderLayout.
13.
True or False: A java.awt.Panel can be assigned BorderLayout.
14.
True or False: A java.awt.Panel can be nested within another java.awt.Panel.
15.
Suppose that a new GridLayout manager is instantiated using the statement new Grid-
Layout(0,1). If five components are added to a container using this layout manager,
how will the components be arranged?
16.
If a dialog window is instantiated using the statement new JDialog(), is it modal or
modeless?
Search WWH ::




Custom Search