Big Java Binder Early Objects

Computing

Quiz 19 :
Graphical User Interfaces

Quiz 19 :
Graphical User Interfaces

Showing 1 - 20 of 76
Next Quiz
arrow
What is the default layout manager of JPanel?
Free
Multiple Choice
Answer:

Answer:

A

arrow
What is the default layout manager of the content pane of a JFrame?
Free
Multiple Choice
Answer:

Answer:

D

arrow
Which class has constants called NORTH and SOUTH?
Free
Multiple Choice
Answer:

Answer:

B

arrow
Which layout manager places objects left-to-right, and creates a new row only if when the current row cannot accommodate another object?
Multiple Choice
Answer:
arrow
Which layout manager places objects left-to-right, row by row into a fixed set of rows and columns?
Multiple Choice
Answer:
arrow
Which layout manager allows you to add components in different orders, with the result being the same GUI appearance? I FlowLayout II BorderLayout III GridLayout
Multiple Choice
Answer:
arrow
Which layout manager may change the location and size of existing components when new ones are added? I FlowLayout II BorderLayout III GridLayout
Multiple Choice
Answer:
arrow
Which layout manager uses a grid so that each component will always be placed into an area of the same size? I GridBagLayout II BorderLayout III GridLayout
Multiple Choice
Answer:
arrow
Which layout manager uses a grid, but allows selected grid locations to span multiple rows or columns? I GridBagLayout II BorderLayout III GridLayout
Multiple Choice
Answer:
arrow
Which layout manager allows you to add components to it by invoking the container's add method with the component as the only argument to add. I FlowLayout II BorderLayout III GridLayout
Multiple Choice
Answer:
arrow
What is the easiest way to create complex-looking GUI layouts? I use the GridBagLayout manager II nest panels, each with its own layout manager III use multiple layout managers in the same container
Multiple Choice
Answer:
arrow
The JFrame has a content pane with a default BorderLayout manager. Which method allows changing it to a FlowLayout manager?
Multiple Choice
Answer:
arrow
Which layout manager constructor call would be best-suited to create a telephone handset GUI which has three rows of three keys each with labels, 1,2,3,4,5,6,7,8,9, and a fourth row with labels *, 0, and #?
Multiple Choice
Answer:
arrow
Which layout manger would be best suited to create a simple navigation GUI with directional arrows for left, right, up, down and enter?
Multiple Choice
Answer:
arrow
To create a _____ layout, you supply the number of rows and columns in the constructor, then add the components, row by row, left to right.
Multiple Choice
Answer:
arrow
When adding a component to a container with the ____ layout, specify the NORTH, EAST, SOUTH, WEST, or CENTER position.
Multiple Choice
Answer:
arrow
In Java, each container has its own ____________________, which determines how the components are laid out.
Multiple Choice
Answer:
arrow
By default, a JPanel uses a _______ layout.
Multiple Choice
Answer:
arrow
If you want to have a tabular arrangement of components, in which columns have different sizes or one component spans multiple columns, a ____ would be appropriate.
Multiple Choice
Answer:
arrow
How do you add two buttons to the south area of a frame using the BorderLayout?
Multiple Choice
Answer:
Showing 1 - 20 of 76
Next Quiz