JavaFX Flashcards
1
Q
Explain javaFX gui components: scene, stage, nodes
A
nodes in a scene
scene in a stage
2
Q
T/F: all FX calles must extend Application class
A
true
3
Q
sample java fx application
A
4
Q
Layout managers list some
A
FlowPane
BorderPane
GridPane
5
Q
FlowPane manager - horizontal
A
6
Q
GridPane layout
A
first index a column, next is row
7
Q
GridPane sample code
A
8
Q
BorderPane layout manager
A
pic
9
Q
what happens when event occurs
A
Action Event object > ActionListener
10
Q
Creat button handler
A
must implrement EventHandler<AcitonEvent></AcitonEvent>
the handle class in an inner class
11
Q
mybutton.setOnAction(new buttonHandler()) is whats needed to apply the handler
A
.
12
Q
ListView<>()
A
13
Q
whats a combobox
A
dropdown
14
Q
A