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

Beginning Java with NetBeans: Chapter 22 How to develop a GUI with Swing (part 2

ID: 3716141 • Letter: B

Question

Beginning Java with NetBeans: Chapter 22

How to develop a GUI with Swing (part 2)

MULTIPLE CHOICE
[Answers are in tables – delete all but the correct answer’s cell]

COMPLETION

To define a label, you use the ________________ component.

To control the layout of components inside a container that uses the GridBagLayout manager, you use the ________________ object.

A/an ________________ dialog prevents the user from interacting with other parts of the application until they have responded to the dialog.

When an application needs a user to enter or edit the data that’s stored in a database, most applications use a special type of window known as a/an

To close a dialog, you can call its ________________ method.

Any code that runs in response to a Swing event runs on a special thread called the

Explanation / Answer

To define a label, you use the ________________ component.
Answer:
JLabel

To control the layout of components inside a container that uses the GridBagLayout manager, you use the ________________ object.
Answer:
GroupLayout

A/an ________________ dialog prevents the user from interacting with other parts of the application until they have responded to the dialog.
Answer:
ProgressDialog

When an application needs a user to enter or edit the data that’s stored in a database, most applications use a special type of window known as a/an
Answer:
integrated development environment

To close a dialog, you can call its ________________ method.
Answer:
setVisible(false);

Any code that runs in response to a Swing event runs on a special thread called the
Answer:
the event dispatch thread

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote