Exam 15: Advanced Gui Topics
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
Write the code to create a scroll pane named myScroll that will display an image named scenery with a vertical scroll bar always present and a horizontal scroll bar as needed.
(Essay)
4.7/5
(89)
You use the ____________________ interface when you are interested in actions the user initiates from the keyboard.
(Short Answer)
4.8/5
(79)
Match each term with the correct statement below.
-The default size of a component
(Multiple Choice)
4.9/5
(91)
When you create a simple scroll pane using the constructor that takes no arguments, horizontal and vertical scroll bars appear only if they are needed.
(True/False)
4.7/5
(75)
With GridLayout, you can specify the number of rows only; you can use ____ for the number of columns and let the layout manager determine the number of columns.
(Multiple Choice)
4.8/5
(80)
Which of the following is NOT a method of the KeyListener interface?
(Multiple Choice)
5.0/5
(77)
Each JMenu can contain options, called JMenuItems, or can contain submenus that are ____.
(Multiple Choice)
4.8/5
(71)
____________________ are lists of user options; they are commonly added features in GUI programs.
(Short Answer)
4.9/5
(79)
Layout managers are interface classes that align components to prevent crowding or overlapping.
(True/False)
4.9/5
(82)
When you use BorderLayout, you are required to add components into each of the five regions.
(True/False)
4.8/5
(88)
What are the four methods defined in the Component class for adding event listeners?
(Essay)
4.9/5
(78)
List and describe the four constructors that can be used when creating a JPanel object.
(Essay)
4.8/5
(74)
When components in a Swing UI require more display area than they have been allocated, you can use a ____ container to hold the components and allow the user to display the components using scroll bars.
(Multiple Choice)
4.9/5
(77)
Match each term with the correct statement below.
-Allows the user to scroll initially invisible parts of the pane into view
(Multiple Choice)
4.8/5
(76)
Write the statement to create a Color object named myGray with red, green, and blue values of 100 each.
(Essay)
4.9/5
(76)
A(n) ____________________ is a plain, borderless surface that can hold lightweight UI components.
(Short Answer)
5.0/5
(83)
Showing 41 - 60 of 69
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)