Exam 19: Graphical User Interfaces
Exam 1: Introduction98 Questions
Exam 2: Using Objects76 Questions
Exam 3: Implementing Classes103 Questions
Exam 4: Fundamental Data Types125 Questions
Exam 5: Decisions120 Questions
Exam 6: Loops128 Questions
Exam 7: Arrays and Array Lists118 Questions
Exam 8: Designing Classes95 Questions
Exam 9: Inheritance101 Questions
Exam 10: Interfaces85 Questions
Exam 11: Inputoutput and Exception Handling109 Questions
Exam 12: Object-Oriented Design104 Questions
Exam 13: Recursion110 Questions
Exam 14: Sorting and Searching109 Questions
Exam 15: The Java Collections Framework110 Questions
Exam 16: Basic Data Structures104 Questions
Exam 17: Tree Structures110 Questions
Exam 18: Generic Classes75 Questions
Exam 19: Graphical User Interfaces76 Questions
Exam 20: Streams and Binary Inputoutput82 Questions
Exam 21: Multithreading82 Questions
Exam 22: Internet Networking74 Questions
Exam 23: Relational Databases75 Questions
Exam 24: XML74 Questions
Exam 25: Web Applications75 Questions
Select questions type
Which component can generate action events?
I JMenuBar
II JMenu
III JMenuItem
(Multiple Choice)
4.8/5
(43)
Which of the following classes has a Boolean state that can be set or unset through the GUI?
(Multiple Choice)
4.7/5
(33)
The event that is generated by a slider when its value changes is of type _____.
(Multiple Choice)
4.8/5
(44)
Which method can a program use to set the selected choice in a JComboBox?
(Multiple Choice)
4.8/5
(33)
If a JPanel with a BorderLayout manager contains a single component that was added to the CENTER, which parts of the JPanel does the component fill?
I North
II South
III Center
IV West
V East
(Multiple Choice)
4.8/5
(33)
What type of object can be added into a JComboBox by the addItem method?
(Multiple Choice)
4.8/5
(27)
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)
4.9/5
(41)
Which layout manager places objects left-to-right, row by row into a fixed set of rows and columns?
(Multiple Choice)
4.8/5
(34)
What is the default layout manager of the content pane of a JFrame?
(Multiple Choice)
4.9/5
(39)
Insert the missing code in the following segment. The code intends to get the newly selected item from the combo box. JComboBox facenameCombo = new JComboBox();
String selectedString = __________________________;
(Multiple Choice)
4.9/5
(32)
Which of the following methods returns the object that was selected in the JComboBox?
(Multiple Choice)
4.9/5
(42)
When the user selects a menu item, the menu item sends a(n) ___________________.
(Multiple Choice)
4.8/5
(35)
Based on the statement below, which of the following adds a title to the border? JPanel panel = new JPanel();
(Multiple Choice)
4.9/5
(41)
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)
4.8/5
(34)
What is the best way to discover the set of Swing components?
(Multiple Choice)
4.9/5
(44)
What is the best first step in picking the layout managers for a set of nested panels?
(Multiple Choice)
4.9/5
(36)
A complex GUI can be created with a set of nested panels. What should determine the components that go into a single panel?
(Multiple Choice)
4.9/5
(38)
Showing 41 - 60 of 76
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)