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

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

What method do you call to register an event handler with a Button control?

Free
(Multiple Choice)
4.9/5
(32)
Correct Answer:
Verified

D

The Application class's __________ method is the main entry point for a JavaFX application.

Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
Verified

A

The process of connecting an event handler object to a control is called __________ the event handler.

Free
(Multiple Choice)
4.9/5
(43)
Correct Answer:
Verified

B

Select all that apply. Which of the following are operations that can be performed by the launch method?

(Multiple Choice)
4.9/5
(33)

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

(Multiple Choice)
4.9/5
(37)

To retrieve text that a user has typed into a TextField control, you call the __________ method.

(Multiple Choice)
4.7/5
(35)

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

(Multiple Choice)
4.9/5
(39)

The foundation of a GUI application is the

(Multiple Choice)
4.8/5
(49)

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

(Multiple Choice)
4.9/5
(30)

The "preferred size" of a scene is usually the whole size of the user's monitor.

(True/False)
4.8/5
(34)

Which of the following is not a way a user can interact with a computer?

(Multiple Choice)
4.8/5
(38)

When an event takes place, the control responsible for the event creates an event __________.

(Multiple Choice)
4.9/5
(30)

The __________ layout container arranges the contents into cells, similar to a spreadsheet.

(Multiple Choice)
4.8/5
(29)

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
(35)

All JavaFX applicatons must extend the Application class.

(True/False)
4.9/5
(42)

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

(Multiple Choice)
4.8/5
(41)

In order to preserve an image's aspect ratio (so it does not appear stretched or distorted), you should use which of the following? Assume myView references an ImageView object.

(Multiple Choice)
4.9/5
(33)

An event object is created when an event takes place.

(True/False)
4.8/5
(40)

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

(Multiple Choice)
4.8/5
(43)

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
(36)
Showing 1 - 20 of 40
close modal

Filters

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