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
The _______ interface toolkit has a large set of user-interface components.
(Multiple Choice)
4.9/5
(39)
What is the best first step in picking the layout managers for a set of nested panels?
(Multiple Choice)
4.9/5
(38)
You wish to detect when the mouse is moved into a graphical component. Which methods of the associated MouseListener interface will provide this information?
(Multiple Choice)
4.8/5
(42)
The documentation for the JSlider class lists ____ inherited methods.
(Multiple Choice)
4.8/5
(37)
Which method can a program use to set the selected choice in a JRadioButton?
(Multiple Choice)
4.8/5
(40)
If the user presses and releases a mouse button in quick succession, which methods of the MouseListener interface are called?
(Multiple Choice)
4.8/5
(29)
What features do GUI builders have to speed the development of the graphical user interface of the program?
I setting properties of dialog boxes
II automated event-handling code generation
III drag and drop of visual components
(Multiple Choice)
4.8/5
(38)
If you want to have a tabular arrangement of components, in which columns have different sizes or one component spans multiple columns, a ____ would be appropriate.
(Multiple Choice)
4.8/5
(47)
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.8/5
(35)
What is the default layout manager of the content pane of a JFrame?
(Multiple Choice)
4.8/5
(44)
If the makeMenuItem method is called four times, at most how many different actions can be performed by these four newly created MenuItem objects when the doSomethingElse method is called?
Public JMenuItem makeMenuItem(String menuLabel)
{
JMenuItem mi = new JMenuItem(menuLabel);
Class MyMenuListener implements ActionListener
{
Public void actionPerformed(ActionEvent mi.addActionListener(new MyMenuListener());
Return mi;
}
}
(Multiple Choice)
4.9/5
(27)
The statement that would add smallButton to the button group in the following code is _________.
JRadioButton smallButton = new JRadioButton("Small");
ButtonGroup group = new ButtonGroup();
(Multiple Choice)
4.8/5
(30)
Suppose a JPanel with a BorderLayout manager contains two components: component1, which was added to the CENTER, 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.8/5
(33)
Which of the following adds a border to the following panel?
JPanel panel = new JPanel();
(Multiple Choice)
4.8/5
(26)
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.9/5
(34)
Showing 41 - 60 of 91
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)