Exam 14: Creating GUI Applications with JavaFX

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

Once you have written and compiled the controller class, you must go back into Scene Builder and register the controller class to the application's GUI.

(True/False)
4.9/5
(41)

Which of the following is true concerning the sample controller skeleton provided by Scene Builder?

(Multiple Choice)
4.8/5
(26)

This section of the Inspector Panel allows you to register the controller class and event listeners with the GUI.

(Multiple Choice)
4.9/5
(29)

In JavaFX, this component is commonly used as a GUI's root node.

(Multiple Choice)
4.9/5
(46)

Which of the following import statements is necessary to make the connection between the controller class and the application's FXML file?

(Multiple Choice)
4.7/5
(39)

FXML uses tags to organize data, in a manner similar to the way that HTML uses tags to format text in a Web browser.

(True/False)
4.9/5
(23)

The Scene Builder ________ provides a list of JavaFX components that you can use in an application.

(Multiple Choice)
4.7/5
(36)

Which of the following does not belong in a JavaFX scene graph?

(Multiple Choice)
4.9/5
(40)

________ are useful when you want the user to select one choice from several possible options.

(Multiple Choice)
4.8/5
(31)

A(n) ________ is a method that automatically executes when a specific event occurs.

(Multiple Choice)
4.7/5
(43)

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

(Multiple Choice)
4.8/5
(43)

A window in a GUI commonly consists of several ________ that present data to the user and/or allow interaction with the application.

(Multiple Choice)
4.7/5
(31)

This is a special annotation that must precede any nonpublic field declaration or nonpublic method definition that is used by the FXML file.

(Multiple Choice)
4.8/5
(43)

In the controller class, you can use the RadioButton's ________ method to determine whether the RadioButton is selected or not.

(Multiple Choice)
4.9/5
(38)

A simple ________ application uses a main application class, and a controller class.

(Multiple Choice)
4.9/5
(35)

This is a markup language that describes the components in a JavaFX scene graph.

(Multiple Choice)
4.8/5
(42)

Once you have created a GUI with Scene Builder, and saved it to an FXML file, you need to write a Java class that performs which of the following?

(Multiple Choice)
4.9/5
(40)

You can use this component to display images in an application's GUI.

(Multiple Choice)
4.7/5
(38)

You can write a JavaFX GUI application using nothing but Java code.

(True/False)
4.9/5
(37)

This is a name that identifies a component in the FXML file and will also become a variable name that you can use later in the Java code that you will write to run the application.

(Multiple Choice)
4.8/5
(35)
Showing 21 - 40 of 40
close modal

Filters

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