Exam 12: A First Look at 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
The FlowLayout manager does not allow the programmer to align components.
(True/False)
5.0/5
(80)
Which of the following is NOT a rule for the FlowLayout manager?
(Multiple Choice)
4.8/5
(80)
Assume that radio references a JRadioButton object. To click the radio button in code, use the following statement:
(Multiple Choice)
4.8/5
(84)
If button1 is a JButton object, which of the following statements will make its background blue?
(Multiple Choice)
4.9/5
(73)
Which one of the following GUI components is considered to be a container?
(Multiple Choice)
4.9/5
(96)
When a component is added to a region in the BorderLayout manager:
(Multiple Choice)
4.8/5
(77)
This is a graphic image that is displayed while an application loads into memory and starts up.
(Multiple Choice)
5.0/5
(74)
Assume that the variable checkbox references a JCheckBox object. To determine whether the check box has been selected, use the following code:
(Multiple Choice)
4.8/5
(80)
This is a basic window that has a border around it, a title bar, and a set of buttons for minimizing, maximizing, and closing the window.
(Multiple Choice)
4.9/5
(72)
AWT components are commonly called ________ components because they are coupled with their underlying peer classes.
(Multiple Choice)
5.0/5
(93)
Some of the common GUI components are buttons, labels, text fields, check boxes, and radio buttons.
(True/False)
4.9/5
(69)
What does the following statement do?
AddButton.addActionListener(new AddButtonListener());
(Multiple Choice)
5.0/5
(77)
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)
4.9/5
(84)
The GridLayout manager limits each cell to only one component. To put two or more components in a cell, do this:
(Multiple Choice)
5.0/5
(58)
When this is the argument passed to the JFrame class's setDefaultCloseOperation() method, the application is hidden, but not closed.
(Multiple Choice)
4.9/5
(75)
Showing 41 - 60 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)