Exam 12: A First Look at GUI Applications

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Event listeners must:

(Multiple Choice)
4.8/5
(83)

JFC stands for:

(Multiple Choice)
4.8/5
(83)

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 layout manager arranges components in rows.

(Multiple Choice)
4.7/5
(95)

Which of the following statements is NOT true?

(Multiple Choice)
4.8/5
(84)

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)

The System.exit method will end the application.

(True/False)
4.8/5
(79)

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
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)