Exam 12: A First Look at GUI Applications

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

When a splash screen is displayed, the application does not load and execute until the user clicks the splash screen image with the mouse.

(True/False)
4.8/5
(31)

When an application uses many components, instead of extending just one class from the JFrame class, a better approach is to:

(Multiple Choice)
4.9/5
(35)

Which of the following statements is NOT true?

(Multiple Choice)
4.9/5
(32)

When you write an action listener class for a JButton component, it must:

(Multiple Choice)
4.8/5
(36)

In GUI terminology, a container that can be displayed as a window is known as a:

(Multiple Choice)
4.9/5
(34)

All operating systems offer the same set of GUI components.

(True/False)
4.8/5
(37)

One of the small dots that make up a screen display is known as what?

(Multiple Choice)
4.9/5
(41)

When using the BorderLayout manager, how many components can each region hold?

(Multiple Choice)
4.8/5
(39)

Because these components rely on the appearance and behavior of the underlying operating system components, there is little that can be done by the programmer to change their properties.

(Multiple Choice)
4.8/5
(47)

This is an action that takes place in an application, such as the clicking of a button.

(Multiple Choice)
4.8/5
(40)

Which of the following statements creates a class that is extended from the JFrame class?

(Multiple Choice)
4.8/5
(29)

When adding components to a container that is governed by the GridLayout manager:

(Multiple Choice)
4.8/5
(37)

To use the ActionListener interface, as well as other event listener interfaces, you must have the following import statement in your code:

(Multiple Choice)
4.8/5
(42)

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)
4.8/5
(35)

This layout manager arranges components in five regions.

(Multiple Choice)
4.9/5
(38)

You must use the statement import java.swing.*; in order to use the ItemListener interface.

(True/False)
4.9/5
(37)

To include Swing and AWT components in your program, use the following import statements:

(Multiple Choice)
4.9/5
(39)

________ is a library of classes that do not replace ________, but provide an improved alternative for creating GUI applications.

(Multiple Choice)
4.8/5
(37)

If panel references a JPanel object, which of the following statements adds the GridLayout to it?

(Multiple Choice)
4.7/5
(36)

This is commonly used to hold and organize collections of related components:

(Multiple Choice)
5.0/5
(31)
Showing 21 - 40 of 60
close modal

Filters

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