Exam 11: Java-Fx: Gui Programming and Basic Controls

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

Which of the following import statements is required in order to write an event handler class?

(Multiple Choice)
4.9/5
(93)

In a JavaFX application, you are limited to a single layout container since layout containers cannot be nested.

(True/False)
4.7/5
(84)

Which package contains the Insets class?

(Multiple Choice)
4.8/5
(87)

An action that takes place while a program is running is a(n)

(Multiple Choice)
4.7/5
(90)

To change the alignment of an HBox you call the

(Multiple Choice)
4.7/5
(76)

To display an image in a JavaFX application, you use either the Image or ImageView class.

(True/False)
4.9/5
(84)

Assuming three ImageView objects named puppy, kitten, and bunny have been created, what does the following statement do? HBox hbox = new HBox(5, puppy, kitten, bunny);

(Multiple Choice)
4.8/5
(86)

In memory, GUI objects in a __________ are organized as __________ in a tree-like hierarchical data structure.

(Multiple Choice)
4.9/5
(94)

An event handler class will not be executed unless it has been registered with the correct control.

(True/False)
4.8/5
(91)

Select all that apply. Which of the following are constructors of the BorderPane class?

(Multiple Choice)
4.8/5
(79)

Select all that apply. Which of the following file types are supported by the Image class?

(Multiple Choice)
4.9/5
(91)

To display an image in a JavaFX application you must

(Multiple Choice)
4.8/5
(84)

Padding is space that appears around the inside edges of a container.

(True/False)
4.7/5
(70)

The command line interface is an event-driven interface.

(True/False)
4.9/5
(66)

If you set a scene's size to a width and height that is smaller than the width and height of the image to be displayed,

(Multiple Choice)
4.9/5
(62)

What does the following statement do? Image puppy = new Image("file:C:\\images\terrier.j p g ");

(Multiple Choice)
4.9/5
(79)

When programming in JavaFX, you should think of the GUI objects as nodes in a tree-like hierarchical structure known as a scene graph.

(True/False)
4.7/5
(80)

Select all that apply. Given the statement shown below, which of the following statements are true? Scene scene = new Scene(hbox, 100, 500);

(Multiple Choice)
4.9/5
(95)

One important difference between the command line interface and a GUI interface is that

(Multiple Choice)
4.8/5
(93)

If a BorderPane region does not contain anything,

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

Filters

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