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
Correct Answer:
Verified
Q54: Which of the following objects cannot trap
Q59: Each container can have _.
A)only one layout
Q61: Which of the following statements about JPanels
Q62: BorderLayout implements interface _.
A) ActionListener
B) FlowLayout.
C) Layout
D)
Q63: FlowLayout is _.
A) an abstract class
B) a
Q65: Class JTextArea's getSelectedText method _.
A) returns the
Q67: The class GridLayout constructs to hold components.
A)a
Q69: By default JScrollPane _.
A)always displays scrollbars
B)never displays
Q73: Which region is used by default when
Q77: Which methods can be used to change
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents