Computer Science > EXAM > Java: Chapter 12 Quiz | 100% Correct Answers (All)
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 execu ... ting 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()); True/False - ✔✔False The System.exit method will end the application.executing. True/False - ✔✔True You must use the statement import java.swing.*; in order to use the ItemListener interface [Show More]
Last updated: 3 years ago
Preview 1 out of 10 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Aug 11, 2022
Number of pages
10
Written in
All
This document has been written for:
Uploaded
Aug 11, 2022
Downloads
0
Views
84
Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.
We're available through e-mail, Twitter, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·