Exam 13: Advanced GUI Applications
Exam 1: Introduction to Computers and Java51 Questions
Exam 2: Java Fundamentals61 Questions
Exam 3: Decision Structures64 Questions
Exam 4: Loops and Files57 Questions
Exam 5: Methods60 Questions
Exam 6: A First Look at Classes58 Questions
Exam 7: Arrays and the Arraylist Class64 Questions
Exam 8: A Second Look at Classes and Objects50 Questions
Exam 9: Text Processing and More About Wrapper Classes60 Questions
Exam 10: Inheritance70 Questions
Exam 11: Exceptions and Advanced File IO56 Questions
Exam 12: A First Look at GUI Applications60 Questions
Exam 13: Advanced GUI Applications58 Questions
Exam 14: Applets and More54 Questions
Exam 15: Creating GUI Applications With Javafx and Scene Builder40 Questions
Exam 16: Recursion42 Questions
Exam 17: Databases48 Questions
Select questions type
Which of the following assigns ALT+C as a mnemonic key for the JButton object, clearButton?
Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
C
To determine which item in a list is currently selected use:
(Multiple Choice)
4.7/5
(31)
In the following code the setPreferredSize method sets the size of the text, "Have a good day".
label = new Jlabel("Have a good day", SwingConstants.CENTER);
label.setPreferredSize(new Dimension(400,200));
(True/False)
5.0/5
(37)
This type of combo box combines a button with a list and allows the user to select items from its list only.
(Multiple Choice)
4.9/5
(25)
What will happen when the following code is executed?
JPanel panel = new JPanel();
Color selectedColor;
SelectedColor = JColorChooser.showDialog(null,
"Select color", Color.BLUE);
(Multiple Choice)
4.7/5
(39)
If nameList is a JList component, use the following statement to display 4 rows in nameList.
(Multiple Choice)
4.8/5
(30)
What will happen when the following statement is executed?
X.setEditable(False);
(Multiple Choice)
4.8/5
(25)
If the argument passed to the showOpenDialog method is null:
(Multiple Choice)
4.8/5
(41)
When creating images, the argument passed to the image parameter in the JLabel constructor can be an ImageIcon object, or any object that implements the Icon interface.
(True/False)
4.8/5
(36)
When using a slider, by default, tick marks are not displayed, and setting their spacing does not cause them to be displayed.
(True/False)
4.7/5
(42)
Which of the following is NOT a class used in constructing a menu system?
(Multiple Choice)
4.9/5
(41)
A text field that can be changed by code in the application, but cannot be edited by the user is known as what?
(Multiple Choice)
4.8/5
(41)
Which of the following is NOT a class used in constructing a menu system?
(Multiple Choice)
4.8/5
(31)
Showing 1 - 20 of 58
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)