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
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.