Exam 14: Introduction to Swing Components
Exam 1: Creating Java Programs68 Questions
Exam 2: Using Data74 Questions
Exam 3: Using Methods, Classes, and Objects68 Questions
Exam 4: More Object Concepts67 Questions
Exam 5: Making Decisions70 Questions
Exam 6: Looping72 Questions
Exam 7: Characters, Strings, and the Stringbuilder73 Questions
Exam 8: Arrays74 Questions
Exam 9: Advanced Array Concepts74 Questions
Exam 10: Introduction to Inheritance70 Questions
Exam 11: Advanced Inheritance Concepts70 Questions
Exam 12: Exception Handling65 Questions
Exam 13: File Input and Output74 Questions
Exam 14: Introduction to Swing Components74 Questions
Exam 15: Advanced Gui Topics69 Questions
Exam 16: Graphics74 Questions
Exam 17: Applets, Images, and Sound72 Questions
Select questions type
When you create a(n) ____, you can group several components, such as JCheckBoxes, so a user can select only one at a time.
(Multiple Choice)
4.9/5
(35)
Swing components are UI elements such as dialog boxes and buttons. You can usually recognize their names because they begin with the letter ____________________.
(Short Answer)
4.8/5
(31)
What type of method must you implement when you register an event listener?
(Essay)
4.8/5
(33)
What are some of the decisions you must make when extending a JFrame?
(Essay)
4.8/5
(42)
Which of the following statements will change the value displayed in a JLabel named hello?
(Multiple Choice)
5.0/5
(35)
Match each term with the correct statement below.
-Require interaction with the local operating system
(Multiple Choice)
4.9/5
(38)
Write the statement to provide a JTextField object named myInfo that allows enough room for a user to enter 15 characters.
(Essay)
4.9/5
(29)
When constructing a Font object, which of the following arguments is NOT required?
(Multiple Choice)
4.9/5
(36)
The JButton, JCheckBox, JComboBox, and JRadioButton components are associated with the ____ method.
(Multiple Choice)
4.8/5
(45)
Match each term with the correct statement below.
-A coffee-cup icon in the frame's title bar, and the Minimize, Restore, and Close buttons
(Multiple Choice)
4.7/5
(41)
Within an implementation of the itemStateChanged() method, you can use the ____ method to determine which object generated the event, and the getStateChange() method to determine whether the event was a selection or a deselection.
(Multiple Choice)
4.8/5
(33)
Write the statement to create a layout manager named myLayout that centers components in each row.
(Essay)
4.8/5
(35)
Showing 61 - 74 of 74
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)