Deck 15: Using Javafx and Scene Builder

Full screen (f)
exit full mode
Question
In Scene Builder, the controller panel is where you connect the GUI to the Java code in your IDE.
Use Space or
up arrow
down arrow
to flip the card.
Question
Which method can be called by a JavaFX application to finish?

A) Application.exit()
B) Platform.finish()
C) Application.end()
D) Platform.s top()
Question
All JavaFX applications extend from the StackPane class.
Question
StackPane is a type of container for layouts.
Question
In JavaFX, ____ transitions let you create animations using a technique similar to creating an animation using frames, as in a movie.

A) timeline
B) sequential
C) key frame
D) parallel
Question
Match between columns
Positions objects in front-to-back order
init()
Positions objects in front-to-back order
start()
Positions objects in front-to-back order
stop()
Positions objects in front-to-back order
launch()
Positions objects in front-to-back order
Application class
Positions objects in front-to-back order
Stage class
Positions objects in front-to-back order
Scene class
Positions objects in front-to-back order
Group
Positions objects in front-to-back order
StackPane
Positions objects in front-to-back order
javafx.animation.Animation
Question
A semicolon is required at the end of a line of code in CSS.
Question
Pressing Return/Enter if a widget is selected, places that control in edit mode.
Question
Match between columns
Class used by transitions
init()
Class used by transitions
start()
Class used by transitions
stop()
Class used by transitions
launch()
Class used by transitions
Application class
Class used by transitions
Stage class
Class used by transitions
Scene class
Class used by transitions
Group
Class used by transitions
StackPane
Class used by transitions
javafx.animation.Animation
Question
Match between columns
Allows the developer to position objects that are rendered in the order of the node
init()
Allows the developer to position objects that are rendered in the order of the node
start()
Allows the developer to position objects that are rendered in the order of the node
stop()
Allows the developer to position objects that are rendered in the order of the node
launch()
Allows the developer to position objects that are rendered in the order of the node
Application class
Allows the developer to position objects that are rendered in the order of the node
Stage class
Allows the developer to position objects that are rendered in the order of the node
Scene class
Allows the developer to position objects that are rendered in the order of the node
Group
Allows the developer to position objects that are rendered in the order of the node
StackPane
Allows the developer to position objects that are rendered in the order of the node
javafx.animation.Animation
Question
JavaFX and Swing  can be used concurrently in the same application.
Question
When a JavaFX application is embedded in a Web page, the application runs locally.
Question
Match between columns
Used for one-time tasks needed at the start of an application, such as opening a data file
init()
Used for one-time tasks needed at the start of an application, such as opening a data file
start()
Used for one-time tasks needed at the start of an application, such as opening a data file
stop()
Used for one-time tasks needed at the start of an application, such as opening a data file
launch()
Used for one-time tasks needed at the start of an application, such as opening a data file
Application class
Used for one-time tasks needed at the start of an application, such as opening a data file
Stage class
Used for one-time tasks needed at the start of an application, such as opening a data file
Scene class
Used for one-time tasks needed at the start of an application, such as opening a data file
Group
Used for one-time tasks needed at the start of an application, such as opening a data file
StackPane
Used for one-time tasks needed at the start of an application, such as opening a data file
javafx.animation.Animation
Question
A JavaFX animation uses a container called Anchor Pane.
Question
If you define CSS rules on a parent control, the rules will be inherited by all of the children widgets.
Question
Match between columns
Holds content inside a window
init()
Holds content inside a window
start()
Holds content inside a window
stop()
Holds content inside a window
launch()
Holds content inside a window
Application class
Holds content inside a window
Stage class
Holds content inside a window
Scene class
Holds content inside a window
Group
Holds content inside a window
StackPane
Holds content inside a window
javafx.animation.Animation
Question
Match between columns
Method that performs most of the work of an Application
init()
Method that performs most of the work of an Application
start()
Method that performs most of the work of an Application
stop()
Method that performs most of the work of an Application
launch()
Method that performs most of the work of an Application
Application class
Method that performs most of the work of an Application
Stage class
Method that performs most of the work of an Application
Scene class
Method that performs most of the work of an Application
Group
Method that performs most of the work of an Application
StackPane
Method that performs most of the work of an Application
javafx.animation.Animation
Question
Match between columns
Represents the entire window in an application
init()
Represents the entire window in an application
start()
Represents the entire window in an application
stop()
Represents the entire window in an application
launch()
Represents the entire window in an application
Application class
Represents the entire window in an application
Stage class
Represents the entire window in an application
Scene class
Represents the entire window in an application
Group
Represents the entire window in an application
StackPane
Represents the entire window in an application
javafx.animation.Animation
Question
With  JavaFX Scene Builder, you design the UI for JavaFX applications by writing FXML code.
Question
Match between columns
Executes when an application is finished
init()
Executes when an application is finished
start()
Executes when an application is finished
stop()
Executes when an application is finished
launch()
Executes when an application is finished
Application class
Executes when an application is finished
Stage class
Executes when an application is finished
Scene class
Executes when an application is finished
Group
Executes when an application is finished
StackPane
Executes when an application is finished
javafx.animation.Animation
Question
Scene Builder allows for ____, which means changes are implemented as they are added, and you see a preview of the UI without the need to recompile your code.

A) WYSIWYG
B) live editing
C) drag and drop
D) cross-platform development
Question
A(n) ____ language is a high-level language that defines the desired result without explicitly listing the commands or steps that must be performed in order to accomplish a particular task.

A) imperative
B) markup
C) declarative
D) interpreted
Question
Which class helps manage the layout of the Scene , and contains objects, such as buttons?

A) Application
B) Root
C) Swing
D) StackPane
Question
Which Scene Builder section contains various widgets you can use to create your layout?

A) Inspector Panel
B) Library Panel
C) Content Panel
D) Document Panel
Question
Which Scene Builder section contains the Hierarchy section and Controller section?

A) Inspector Panel
B) Library Panel
C) Content Panel
D) Document Panel
Question
Which class describes a container for an application?

A) Application
B) Stage
C) Scene
D) StackPane
Question
How are style properties viewed, by default, in the CSS Analyzer?

A) Rules
B) Text
C) Table
D) Document
Question
In which Scene Builder section do you connect the GUI to the Java code in your IDE?

A) Controller Panel
B) Library Panel
C) Content Panel
D) Document Panel
Question
____ is a style sheet language that describes the presentation of documents.

A) HTML
B) CSS
C) FXML
D) XML
Question
____ is a development technique in which the programmer can use a mouse or touch screen to move a component from one part of a screen to another.

A) WYSIWYG
B) Live editing
C) Drag and drop
D) Cross-platform development
Question
In the CSS Analyzer panel, which button allows you to select a widget in the Control Panel?

A) Copy Styleable Path
B) CSS Picking Mode
C) Reveal in Inspector
D) Properties
Question
Which Scene Builder section displays the path to a selected element?

A) Inspector Panel
B) CSS Analyzer Panel
C) Message Bar
D) Document Panel
Question
Which Scene Builder section is the scene container where you position the widgets to create your FXML layout?

A) Inspector Panel
B) CSS Analyzer Panel
C) Content Panel
D) Document Panel
Question
When you use Scene Builder, you build the UI by dragging components onto a Scene and the ____ code for the layout is generated automatically.

A) XML
B) FXML
C) HTML
D) CSS
Question
In a JavaFX application, an object of which class includes the title bar and the minimize, maximize, and close buttons?

A) Application
B) Stage
C) Scene
D) StackPane
Question
 Scene Builder uses JavaFX ____ FX8 CSS style by default when you drag and drop controls onto the Content panel. 

A) Modena
B) SpringXML
C) FXML
D) Modern
Question
____ a widget in the Content panel places that control in edit mode. 

A) Double-clicking on
B) Hovering on top of
C) Right-clicking on
D) Highlighting
Question
The StackPane  ____ node is the topmost layout and is passed to the scene constructor. 

A) root
B) scene
C) stage
D) source
Question
____ is a declarative markup language used to define UIs.

A) HTML
B) XML
C) CSS
D) FXML
Question
____  is a GUI design tool that allows the developer to create a user interface visually without having to spend a lot of time trying to position all the controls within the interface.

A) Scene Builder
B) JavaFX
C) CSS
D) Swing
Question
JavaFX supports ____ animation, in which the transitions of the graphics scenes one to another is controlled by the state of a scene at a particular time.

A) timeline
B) sequential
C) key frame
D) parallel
Question
A(n) ____ tag is used to let the compiler know that your intention is to override a method in a parent class.

A) replace
B) abstract
C) override
D) undefined
Question
JavaFX is designed to replace ____ as the GUI library for Java SE and is included with the standard JDK and JRE.

A) Swing
B) GUI
C) Animation
D) FXML
Question
What is cross-platform development?
Question
When you are working with Scene Builder, what is the Inspector Panel used for? 
Question
You are not required to use an IDE when working with Scene Builder; it can run as a(n) ____. 

A) Applet
B) command-line interactive shell
C) Flash Web app
D) standalone application
Question
In JavaFX, a ____ transition executes multiple transitions concurrently.

A) timeline
B) sequential
C) key frame
D) parallel
Question
Controls in a GUI screen are often called ____.

A) widgets
B) icons
C) styles
D) scenes
Question
When using Scene Builder, how can you manipulate the graphical elements used in your FXML layout?
Question
Which of the following is an abstract method that must  be overriden in a JavaFX application?

A) launch()
B) start()
C) init()
D) stop()
Question
From which class does Application extend from?

A) Object
B) GUI
C) Class
D) StackPane
Question
____ languages are used to design the presentation, formatting, layout, and style of text.

A) Imperative
B) Markup
C) Declarative
D) Interpreted
Question
JavaFX animations use a container called ____, which allows the developer to position objects that are rendered in the order of the node.

A) Anchor Pane
B) StackPane
C) Timeline
D) Group
Question
Which three methods are called automatically when a JavaFX application runs?

A) launch() , start() , and  stop()
B) init() ,  start() , and  stop()
C) init() ,  launch() , and  stop()
D) init() ,  launch() , and  exit()
Question
How can you change the JavaFX theme used in your layout?
Question
CSS code is said to be ____ because the lowest line of code on the sheet is the most relevant to the styling of the document.

A) interpreted
B) declarative
C) imperative
D) cascading
Question
The center of the Screen Builder screen holds the ____ pane where you can drag and drop controls onto the stage. 

A) anchor
B) widget
C) stack
D) application
Question
When using Scene Builder, how can you reorder widgets?
Question
What steps occur when you launch a JavaFX Application ?
Question
What code should you add to your application's start() method so that the primary stage is sent and displayed?
Question
In the context of JavaFX animations, what is "interpolation"?
Question
How can you edit an existing CSS file from inside Scene Builder?
Question
Suppose the main window of a JavaFX application is a  Stage object named primaryStage . How can you set the title for the main window to "Hello world!"?
Question
Match between columns
Provides the entry point for a JavaFX application
init()
Provides the entry point for a JavaFX application
start()
Provides the entry point for a JavaFX application
stop()
Provides the entry point for a JavaFX application
launch()
Provides the entry point for a JavaFX application
Application class
Provides the entry point for a JavaFX application
Stage class
Provides the entry point for a JavaFX application
Scene class
Provides the entry point for a JavaFX application
Group
Provides the entry point for a JavaFX application
StackPane
Provides the entry point for a JavaFX application
javafx.animation.Animation
Question
Match between columns
Must be called explicitly to launch an FX application
init()
Must be called explicitly to launch an FX application
start()
Must be called explicitly to launch an FX application
stop()
Must be called explicitly to launch an FX application
launch()
Must be called explicitly to launch an FX application
Application class
Must be called explicitly to launch an FX application
Stage class
Must be called explicitly to launch an FX application
Scene class
Must be called explicitly to launch an FX application
Group
Must be called explicitly to launch an FX application
StackPane
Must be called explicitly to launch an FX application
javafx.animation.Animation
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/65
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 15: Using Javafx and Scene Builder
1
In Scene Builder, the controller panel is where you connect the GUI to the Java code in your IDE.
True
2
Which method can be called by a JavaFX application to finish?

A) Application.exit()
B) Platform.finish()
C) Application.end()
D) Platform.s top()
D
3
All JavaFX applications extend from the StackPane class.
False
4
StackPane is a type of container for layouts.
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
5
In JavaFX, ____ transitions let you create animations using a technique similar to creating an animation using frames, as in a movie.

A) timeline
B) sequential
C) key frame
D) parallel
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
6
Match between columns
Positions objects in front-to-back order
init()
Positions objects in front-to-back order
start()
Positions objects in front-to-back order
stop()
Positions objects in front-to-back order
launch()
Positions objects in front-to-back order
Application class
Positions objects in front-to-back order
Stage class
Positions objects in front-to-back order
Scene class
Positions objects in front-to-back order
Group
Positions objects in front-to-back order
StackPane
Positions objects in front-to-back order
javafx.animation.Animation
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
7
A semicolon is required at the end of a line of code in CSS.
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
8
Pressing Return/Enter if a widget is selected, places that control in edit mode.
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
9
Match between columns
Class used by transitions
init()
Class used by transitions
start()
Class used by transitions
stop()
Class used by transitions
launch()
Class used by transitions
Application class
Class used by transitions
Stage class
Class used by transitions
Scene class
Class used by transitions
Group
Class used by transitions
StackPane
Class used by transitions
javafx.animation.Animation
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
10
Match between columns
Allows the developer to position objects that are rendered in the order of the node
init()
Allows the developer to position objects that are rendered in the order of the node
start()
Allows the developer to position objects that are rendered in the order of the node
stop()
Allows the developer to position objects that are rendered in the order of the node
launch()
Allows the developer to position objects that are rendered in the order of the node
Application class
Allows the developer to position objects that are rendered in the order of the node
Stage class
Allows the developer to position objects that are rendered in the order of the node
Scene class
Allows the developer to position objects that are rendered in the order of the node
Group
Allows the developer to position objects that are rendered in the order of the node
StackPane
Allows the developer to position objects that are rendered in the order of the node
javafx.animation.Animation
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
11
JavaFX and Swing  can be used concurrently in the same application.
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
12
When a JavaFX application is embedded in a Web page, the application runs locally.
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
13
Match between columns
Used for one-time tasks needed at the start of an application, such as opening a data file
init()
Used for one-time tasks needed at the start of an application, such as opening a data file
start()
Used for one-time tasks needed at the start of an application, such as opening a data file
stop()
Used for one-time tasks needed at the start of an application, such as opening a data file
launch()
Used for one-time tasks needed at the start of an application, such as opening a data file
Application class
Used for one-time tasks needed at the start of an application, such as opening a data file
Stage class
Used for one-time tasks needed at the start of an application, such as opening a data file
Scene class
Used for one-time tasks needed at the start of an application, such as opening a data file
Group
Used for one-time tasks needed at the start of an application, such as opening a data file
StackPane
Used for one-time tasks needed at the start of an application, such as opening a data file
javafx.animation.Animation
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
14
A JavaFX animation uses a container called Anchor Pane.
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
15
If you define CSS rules on a parent control, the rules will be inherited by all of the children widgets.
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
16
Match between columns
Holds content inside a window
init()
Holds content inside a window
start()
Holds content inside a window
stop()
Holds content inside a window
launch()
Holds content inside a window
Application class
Holds content inside a window
Stage class
Holds content inside a window
Scene class
Holds content inside a window
Group
Holds content inside a window
StackPane
Holds content inside a window
javafx.animation.Animation
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
17
Match between columns
Method that performs most of the work of an Application
init()
Method that performs most of the work of an Application
start()
Method that performs most of the work of an Application
stop()
Method that performs most of the work of an Application
launch()
Method that performs most of the work of an Application
Application class
Method that performs most of the work of an Application
Stage class
Method that performs most of the work of an Application
Scene class
Method that performs most of the work of an Application
Group
Method that performs most of the work of an Application
StackPane
Method that performs most of the work of an Application
javafx.animation.Animation
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
18
Match between columns
Represents the entire window in an application
init()
Represents the entire window in an application
start()
Represents the entire window in an application
stop()
Represents the entire window in an application
launch()
Represents the entire window in an application
Application class
Represents the entire window in an application
Stage class
Represents the entire window in an application
Scene class
Represents the entire window in an application
Group
Represents the entire window in an application
StackPane
Represents the entire window in an application
javafx.animation.Animation
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
19
With  JavaFX Scene Builder, you design the UI for JavaFX applications by writing FXML code.
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
20
Match between columns
Executes when an application is finished
init()
Executes when an application is finished
start()
Executes when an application is finished
stop()
Executes when an application is finished
launch()
Executes when an application is finished
Application class
Executes when an application is finished
Stage class
Executes when an application is finished
Scene class
Executes when an application is finished
Group
Executes when an application is finished
StackPane
Executes when an application is finished
javafx.animation.Animation
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
21
Scene Builder allows for ____, which means changes are implemented as they are added, and you see a preview of the UI without the need to recompile your code.

A) WYSIWYG
B) live editing
C) drag and drop
D) cross-platform development
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
22
A(n) ____ language is a high-level language that defines the desired result without explicitly listing the commands or steps that must be performed in order to accomplish a particular task.

A) imperative
B) markup
C) declarative
D) interpreted
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
23
Which class helps manage the layout of the Scene , and contains objects, such as buttons?

A) Application
B) Root
C) Swing
D) StackPane
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
24
Which Scene Builder section contains various widgets you can use to create your layout?

A) Inspector Panel
B) Library Panel
C) Content Panel
D) Document Panel
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
25
Which Scene Builder section contains the Hierarchy section and Controller section?

A) Inspector Panel
B) Library Panel
C) Content Panel
D) Document Panel
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
26
Which class describes a container for an application?

A) Application
B) Stage
C) Scene
D) StackPane
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
27
How are style properties viewed, by default, in the CSS Analyzer?

A) Rules
B) Text
C) Table
D) Document
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
28
In which Scene Builder section do you connect the GUI to the Java code in your IDE?

A) Controller Panel
B) Library Panel
C) Content Panel
D) Document Panel
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
29
____ is a style sheet language that describes the presentation of documents.

A) HTML
B) CSS
C) FXML
D) XML
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
30
____ is a development technique in which the programmer can use a mouse or touch screen to move a component from one part of a screen to another.

A) WYSIWYG
B) Live editing
C) Drag and drop
D) Cross-platform development
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
31
In the CSS Analyzer panel, which button allows you to select a widget in the Control Panel?

A) Copy Styleable Path
B) CSS Picking Mode
C) Reveal in Inspector
D) Properties
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
32
Which Scene Builder section displays the path to a selected element?

A) Inspector Panel
B) CSS Analyzer Panel
C) Message Bar
D) Document Panel
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
33
Which Scene Builder section is the scene container where you position the widgets to create your FXML layout?

A) Inspector Panel
B) CSS Analyzer Panel
C) Content Panel
D) Document Panel
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
34
When you use Scene Builder, you build the UI by dragging components onto a Scene and the ____ code for the layout is generated automatically.

A) XML
B) FXML
C) HTML
D) CSS
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
35
In a JavaFX application, an object of which class includes the title bar and the minimize, maximize, and close buttons?

A) Application
B) Stage
C) Scene
D) StackPane
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
36
 Scene Builder uses JavaFX ____ FX8 CSS style by default when you drag and drop controls onto the Content panel. 

A) Modena
B) SpringXML
C) FXML
D) Modern
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
37
____ a widget in the Content panel places that control in edit mode. 

A) Double-clicking on
B) Hovering on top of
C) Right-clicking on
D) Highlighting
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
38
The StackPane  ____ node is the topmost layout and is passed to the scene constructor. 

A) root
B) scene
C) stage
D) source
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
39
____ is a declarative markup language used to define UIs.

A) HTML
B) XML
C) CSS
D) FXML
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
40
____  is a GUI design tool that allows the developer to create a user interface visually without having to spend a lot of time trying to position all the controls within the interface.

A) Scene Builder
B) JavaFX
C) CSS
D) Swing
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
41
JavaFX supports ____ animation, in which the transitions of the graphics scenes one to another is controlled by the state of a scene at a particular time.

A) timeline
B) sequential
C) key frame
D) parallel
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
42
A(n) ____ tag is used to let the compiler know that your intention is to override a method in a parent class.

A) replace
B) abstract
C) override
D) undefined
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
43
JavaFX is designed to replace ____ as the GUI library for Java SE and is included with the standard JDK and JRE.

A) Swing
B) GUI
C) Animation
D) FXML
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
44
What is cross-platform development?
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
45
When you are working with Scene Builder, what is the Inspector Panel used for? 
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
46
You are not required to use an IDE when working with Scene Builder; it can run as a(n) ____. 

A) Applet
B) command-line interactive shell
C) Flash Web app
D) standalone application
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
47
In JavaFX, a ____ transition executes multiple transitions concurrently.

A) timeline
B) sequential
C) key frame
D) parallel
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
48
Controls in a GUI screen are often called ____.

A) widgets
B) icons
C) styles
D) scenes
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
49
When using Scene Builder, how can you manipulate the graphical elements used in your FXML layout?
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
50
Which of the following is an abstract method that must  be overriden in a JavaFX application?

A) launch()
B) start()
C) init()
D) stop()
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
51
From which class does Application extend from?

A) Object
B) GUI
C) Class
D) StackPane
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
52
____ languages are used to design the presentation, formatting, layout, and style of text.

A) Imperative
B) Markup
C) Declarative
D) Interpreted
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
53
JavaFX animations use a container called ____, which allows the developer to position objects that are rendered in the order of the node.

A) Anchor Pane
B) StackPane
C) Timeline
D) Group
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
54
Which three methods are called automatically when a JavaFX application runs?

A) launch() , start() , and  stop()
B) init() ,  start() , and  stop()
C) init() ,  launch() , and  stop()
D) init() ,  launch() , and  exit()
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
55
How can you change the JavaFX theme used in your layout?
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
56
CSS code is said to be ____ because the lowest line of code on the sheet is the most relevant to the styling of the document.

A) interpreted
B) declarative
C) imperative
D) cascading
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
57
The center of the Screen Builder screen holds the ____ pane where you can drag and drop controls onto the stage. 

A) anchor
B) widget
C) stack
D) application
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
58
When using Scene Builder, how can you reorder widgets?
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
59
What steps occur when you launch a JavaFX Application ?
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
60
What code should you add to your application's start() method so that the primary stage is sent and displayed?
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
61
In the context of JavaFX animations, what is "interpolation"?
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
62
How can you edit an existing CSS file from inside Scene Builder?
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
63
Suppose the main window of a JavaFX application is a  Stage object named primaryStage . How can you set the title for the main window to "Hello world!"?
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
64
Match between columns
Provides the entry point for a JavaFX application
init()
Provides the entry point for a JavaFX application
start()
Provides the entry point for a JavaFX application
stop()
Provides the entry point for a JavaFX application
launch()
Provides the entry point for a JavaFX application
Application class
Provides the entry point for a JavaFX application
Stage class
Provides the entry point for a JavaFX application
Scene class
Provides the entry point for a JavaFX application
Group
Provides the entry point for a JavaFX application
StackPane
Provides the entry point for a JavaFX application
javafx.animation.Animation
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
65
Match between columns
Must be called explicitly to launch an FX application
init()
Must be called explicitly to launch an FX application
start()
Must be called explicitly to launch an FX application
stop()
Must be called explicitly to launch an FX application
launch()
Must be called explicitly to launch an FX application
Application class
Must be called explicitly to launch an FX application
Stage class
Must be called explicitly to launch an FX application
Scene class
Must be called explicitly to launch an FX application
Group
Must be called explicitly to launch an FX application
StackPane
Must be called explicitly to launch an FX application
javafx.animation.Animation
Unlock Deck
Unlock for access to all 65 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 65 flashcards in this deck.