質問編集履歴
2
記述誤り訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,9 +10,9 @@
|
|
10
10
|
|
11
11
|
Label label = new Label("Test");
|
12
12
|
|
13
|
-
pane.getChildren().add(b
|
13
|
+
pane.getChildren().add(label); // パネルにラベルを追加
|
14
14
|
|
15
|
-
pane.getChildren().remove(b
|
15
|
+
pane.getChildren().remove(label); // パネルからラベルを削除
|
16
16
|
|
17
17
|
```
|
18
18
|
|
1
記述ミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
for (Node node : label.getParent().getChildrenUnmodifiable()) {
|
30
30
|
|
31
|
-
if (
|
31
|
+
if (label.equals(node)) {
|
32
32
|
|
33
33
|
// ラベルはremoveされていない
|
34
34
|
|