Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Which Swing layout manager uses a grid, but allows selected grid locations to

ID: 3714094 • Letter: 1

Question

1.

Which Swing layout manager uses a grid, but allows selected grid locations to span multiple rows or columns?

I GridBagLayout

II BorderLayout

III GridLayout

2.

What is the best first step in picking the layout managers for a set of nested panels?

3.

In an online job application, applicants have to submit a cover letter by typing it into a given text box. Which Swing component would be most appropriate for this text box?

4.

Which of the following would be an appropriate use of radio buttons when ordering a pizza?

5.

A complex GUI can be created with a set of nested containers. What should determine the components that go into a single container?

6.

In Swing, what is the general purpose container normally used at each level of a hierarchy of components and other containers, with layouts at each level?

a.Only II

Explanation / Answer

Ans1. Option B

Ans2. Option D

Ans3. Option C

Ans4. Option B

Ans5. Option B

Ans6. Option B