Java: Chapter 12 Quiz | 100% Correct Answers
A common technique for writing an event listener class is to write it as a private inner class inside the class that creates the GUI. True/False - True A GUI program automatically stops executing when the end of the main method is reached. True/False - False All operating systems offer the same set of GUI components. True/False - False Check boxes may be grouped in a ButtonGroup, like radio buttons are. True/False - True Some of the common GUI components are buttons, labels, text fields, check boxes, and radio buttons. True/False - True The ability to display splash screens was introduced in Java 6. True/False - True The ActionEvent argument that is passed to an action listener's actionPerformed method is the event object that was generated in response to an event. True/False - True The FlowLayout manager does not allow the programmer to align components. True/False - False The following statement adds the FlowLayout manager to the container, centers the components, and separates the components with a gap of 10 pixels. setLayout(new FlowLayout());
Written for
- Institution
- Java
- Course
- Java
Document information
- Uploaded on
- February 14, 2023
- Number of pages
- 10
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
java chapter 12 quiz | 100 correct answers