cting an event handler object to a control is called b. registering The process of connecting...
cting an event handler object to a control is called b. registering The process of connecting # passing CISC 3115-1BC applying ANS the event handler d. rendering following import statements is required in order to write an event handler class? Which of the followi import jav a b. import Tavafx.event. EventHandler avatx.event.ActionEvent. import javatx.Eventhan EventHandler t avaix. EventHandler.event. d. import java fx ANS: of the following import statements is required in order to create a Border Pane layout 17. Which of the for container? import javax.scene.layout.Box: import javafx.scene.layout: import javatx.layout.scene. Border Panes import javatx.scene.layout.Border Pane: ANS: 18 What method do you call to register an event handler with a Button control? a. setAction c. setOnClick b. onclickAction d.setOnAction ANS: class which is in the package. 19. To create a TextField control, you use the a. TextField, javafx.text.control b. Text Field, javafx.scene.control c. Text Box, javafx.scene.control d. TextField, javax.textfield ANS: method. 20. To retrieve text that a user has typed into a TextField control, you call the c. getText a. input Text d.getInput Text b. get Input ANS: 21. If a Border Pane region does not contain anything. a. the region will appear gray by default b. the region will not appear in the GUI c. an error will occur d. content from an adjacent region will be duplicated to appear in the empty region