Exam 11: Advanced User Interfaces
Exam 1: Introduction96 Questions
Exam 2: Fundamental Data Types103 Questions
Exam 3: Decisionseasy99 Questions
Exam 4: Loops100 Questions
Exam 5: Methods94 Questions
Exam 6: Arrays and Arraylists100 Questions
Exam 7: Inputoutput and Exception Handling100 Questions
Exam 8: Objects and Classes101 Questions
Exam 9: Inheritance and Interfaces99 Questions
Exam 10: Graphical User Interfaces54 Questions
Exam 11: Advanced User Interfaces91 Questions
Exam 12: Object-Oriented Design100 Questions
Exam 13: Recursion100 Questions
Exam 14: Sorting and Searching99 Questions
Exam 15: The Java Collections Framework100 Questions
Exam 16: Basic Data Structures94 Questions
Exam 17: Tree Structures100 Questions
Exam 18: Generic Classes78 Questions
Exam 19: Streams and Binary Inputoutput82 Questions
Exam 20: Multithreading82 Questions
Exam 21: Internet Networking74 Questions
Exam 22: Relational Databases75 Questions
Exam 23: XML74 Questions
Exam 24: Web Applications74 Questions
Select questions type
Examine the code below. What type of class is MyMenuListener?
Public JMenuItem makeMenuItem(String menuLabel)
{
JMenuItem mini = new JMenuItem(menuLabel);
Class MyMenuListener implements ActionListener
{
Public void actionPerformed(ActionEvent
(Multiple Choice)
4.8/5
(44)
Which layout manger would be best suited to create a simple navigation GUI with directional arrows for left, right, up, down and enter?
(Multiple Choice)
4.9/5
(30)
The JFrame has a content pane with a default BorderLayout manager. Which method allows changing it to a FlowLayout manager?
(Multiple Choice)
4.9/5
(32)
Suppose a JPanel with a BorderLayout manager contains two components: component1, which was added to the NORTH, and component2, which was added to the SOUTH. Which parts of the JPanel will appear?
I North
II South
III Center
IV West
V East
(Multiple Choice)
4.9/5
(41)
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
(41)
Which layout manager allows you to add components in different orders, with the result being the same GUI appearance?
I FlowLayout
II BorderLayout
III GridLayout
(Multiple Choice)
4.9/5
(33)
What type of object can be added into a JComboBox by the addItem method?
(Multiple Choice)
4.7/5
(43)
Which layout manager uses a grid, but allows selected grid locations to span multiple rows or columns?
I GridBagLayout
II BorderLayout
III GridLayout
(Multiple Choice)
4.8/5
(45)
The event that is generated by a slider when its value changes is of type _____.
(Multiple Choice)
4.9/5
(31)
When a menu item is selected, what type of event does it send?
(Multiple Choice)
4.9/5
(35)
Showing 81 - 91 of 91
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)