14.18.2 BorderLayout 14.18.2 Q1: BorderLayout implements interface: a. ActionListener. b. FlowLayout. c. Layout. d. LayoutManager2. 14.18.2 Q2: Which region is used by default when a Component is added to a BorderLayout? a. NORTH. b. CENTER. c. WEST. d. LEFT. 14.18.3 GridLayout 14.18.3 Q1: The class GridLayout constructs         to hold components. a. a horizontal grid with one row. b. a vertical grid with one column. c. a grid with multiple rows and columns. d. a square grid with the same number of rows as columns. 14.18.3 Q2: When components are added to a container with a GridLayout, the component: a. fills the next spot in the row, continuing in the first position of the next row if the current row is full. b. fills the next spot in the column, continuing in the first position of the next column if the column is full. c. fills in row x, column y if x and y are two integers passed to the Container method add. d. fills in a random empty position in the grid. 14.19  Using Panels to Manage More Complex Layouts 14.19 Q1: Which of the following statements about JPanels is false? a. A JPanel is a JComponent. b. A JPanel is a Container. c. A JPanel does not have a content pane. d. A JPanel has a fixed size. 14.20  JTextArea 14.20 Q1: A JTextArea: a. provides a bounding box used for the layout of JTextFields. b. wraps lines by default. c. provides an area for manipulating multiple lines of text. d. provides scrollbars for JTextFields. 14.20 Q2: Class JTextArea’s getSelectedText method: a. returns the text in the JTextArea. b. returns the selected text in the JTextArea. c. displays only the selected text in the JTextArea. d. sets the selected text in the JTextArea. JScrollPane Scrollbar Policies 14.20 Q3: By default JScrollPane: a. always displays scrollbars. b. never displays scrollbars. c. only displays scrollbars if they are needed. d. None of the above. 14.20 Q4: Which methods can be used to change the scrollbar policies? a. setHoizontalPolicy, setVerticalPolicy. b. setHorizontal, setVertical. c. setHPolicy, setVPolicy. d. setHorizontalScrollBarPolicy, setVerticalScrollBarPolicy.