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

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

To add padding to an HBox you can call the __________ method.

(Multiple Choice)
4.8/5
(35)

The Pos type must be imported from the javafx.geometry package.

(True/False)
4.9/5
(26)

Which of the following import statements is required in order to create a BorderPane layout container?

(Multiple Choice)
4.9/5
(33)

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)
5.0/5
(38)

The __________ layout container arranges its contents with columns and rows.

(Multiple Choice)
4.9/5
(29)

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

(True/False)
4.7/5
(38)

The BorderPane container always displays its content in five regions which are top, bottom, left, right, and center and each region must be used.

(True/False)
4.9/5
(27)

Which of the following statements correctly adds a label to the first row and second column of a GridPane object?

(Multiple Choice)
4.8/5
(35)

The command line interface is an event-driven interface.

(True/False)
4.8/5
(36)

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

(Multiple Choice)
4.9/5
(34)

In order to leave 15 pixels of space in an HBox container, use which of the following statements?

(Multiple Choice)
4.7/5
(34)

To create a TextField control, you use the __________ class which is in the __________ package.

(Multiple Choice)
4.8/5
(35)

Select all that apply. Which of the following are regions where content can be displayed in the BorderPane layout container?

(Multiple Choice)
4.9/5
(41)

Select all that apply. Which of the following are nodes that can be used in a scene graph?

(Multiple Choice)
4.8/5
(39)

An event object is created when an event takes place.

(True/False)
4.8/5
(43)

Select all that apply. It may be possible to simplify event handler code by using which of the following?

(Multiple Choice)
4.8/5
(35)

A(n) __________ is an action that takes place in an application, such as the clicking of a button.

(Multiple Choice)
4.7/5
(43)

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

(Multiple Choice)
4.7/5
(38)

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

(Multiple Choice)
5.0/5
(36)

If a BorderPane region does not contain anything, __________.

(Multiple Choice)
4.9/5
(36)
Showing 21 - 40 of 42
close modal

Filters

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