JavaFX Flashcards

1
Q

Explain javaFX gui components: scene, stage, nodes

A

nodes in a scene
scene in a stage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

T/F: all FX calles must extend Application class

A

true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

sample java fx application

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Layout managers list some

A

FlowPane
BorderPane
GridPane

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

FlowPane manager - horizontal

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

GridPane layout

A

first index a column, next is row

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

GridPane sample code

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

BorderPane layout manager

A

pic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what happens when event occurs

A

Action Event object > ActionListener

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Creat button handler

A

must implrement EventHandler<AcitonEvent></AcitonEvent>

the handle class in an inner class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

mybutton.setOnAction(new buttonHandler()) is whats needed to apply the handler

A

.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

ListView<>()

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

whats a combobox

A

dropdown

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly