回答編集履歴
1
typo
test
CHANGED
@@ -39,7 +39,7 @@
|
|
39
39
|
}
|
40
40
|
};
|
41
41
|
|
42
|
-
VBox root = new VBox(20);
|
42
|
+
final VBox root = new VBox(20);
|
43
43
|
root.setAlignment(Pos.CENTER);
|
44
44
|
|
45
45
|
for (int i = 0; i < numberOfButton; i++) {
|
@@ -53,7 +53,7 @@
|
|
53
53
|
|
54
54
|
root.getChildren().add(lbl);
|
55
55
|
|
56
|
-
Scene scene = new Scene(root, 300, 500);
|
56
|
+
final Scene scene = new Scene(root, 300, 500);
|
57
57
|
|
58
58
|
primaryStage.setTitle("Hello World!");
|
59
59
|
primaryStage.setScene(scene);
|