Exam 11: GUI Applications–Part 1
Exam 1: Introduction to Computers and Java40 Questions
Exam 2: Java Fundamentals40 Questions
Exam 3: A First Look at Classes and Objects40 Questions
Exam 4: Decision Structures40 Questions
Exam 5: Loops and Files40 Questions
Exam 6: A Second Look at Classes and Objects40 Questions
Exam 7: Arrays and the ArrayList Class40 Questions
Exam 8: Text Processing and Wrapper Classes40 Questions
Exam 9: Inheritance40 Questions
Exam 10: Exceptions and Advanced File I/O40 Questions
Exam 11: GUI Applications–Part 140 Questions
Exam 12: GUI Applications–Part 240 Questions
Exam 13: Applets and More40 Questions
Exam 14: Creating GUI Applications with JavaFX40 Questions
Exam 15: Recursion20 Questions
Exam 16: Databases40 Questions
Select questions type
The ________ manager creates a grid with rows and columns, much like a spreadsheet.
(Multiple Choice)
5.0/5
(42)
When an application is not performing correctly, programmers sometimes write statements that display ________ into the application.
(Multiple Choice)
4.8/5
(40)
By default, a window is hidden from view when the close button is clicked, but the application is not terminated.
(True/False)
4.9/5
(28)
Even if you write an event listener, it will not execute unless it has been registered with the correct component.
(True/False)
4.8/5
(44)
When a class is instantiated ________, the class is created in memory, but its address is not assigned to any reference variable.
(Multiple Choice)
4.8/5
(36)
When a component is added to a region in the BorderLayout manager,
(Multiple Choice)
4.8/5
(33)
When used as an exit code, this value traditionally indicates that the program ended successfully.
(Multiple Choice)
4.9/5
(36)
Which of the following is not a rule for the FlowLayout manager?
(Multiple Choice)
4.8/5
(29)
This is a graphic image that is displayed while an application loads into memory and starts up.
(Multiple Choice)
5.0/5
(35)
What will be the result of executing the following statement?
Panel.setBorder(BorderFactory.createLineBorder(Color.BLUE, 5));
(Multiple Choice)
4.8/5
(29)
When this argument is passed to the JFrame class's setDefaultCloseOperation method, the application is hidden, but not closed.
(Multiple Choice)
4.8/5
(45)
If button1 references a JButton object, which of the following statements will make its background blue?
(Multiple Choice)
4.8/5
(42)
In a Swing application, you create a frame from this class.
(Multiple Choice)
4.9/5
(40)
Splash screens are particularly important for large applications that take a long time to load, because they assure the user that the program is not malfunctioning.
(True/False)
4.9/5
(40)
Programs that operate in a GUI environment must be event-driven.
(True/False)
4.8/5
(41)
Showing 21 - 40 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)