Exercise Questions 9.35
(ii) Flow layout is default layout for content pane.
(iii) setLayout() method sets the lay out in the content pane
(iv) A maximum of 4 components can be displayed in a border layout
(a) iii & iv (b) ii, iii (c) i, ii, iii (d) i, iii
11. Which of the following statements are true in respect of Scrollpane components?
(i) Contains Single content (ii) Layout manager is required
(iii) Scroll bars are always displayed (iv) Scroll bars are displayed as and when
needed
(a) i & iv (b) i & iii (c) ii & iii (d) ii & iv
12. The component used for displaying the text in a window is
(a) Panel (b) Label (c) TextField (d) Frame
13. The layout to be used when we need rows and columns on screen is a
(a) Flow layout ...