teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

エラーが出るようになったところ

2015/11/19 03:42

投稿

Takahito
Takahito

スコア66

title CHANGED
File without changes
body CHANGED
@@ -102,4 +102,14 @@
102
102
  <Label fx:id="label1" text="This is FXML! />
103
103
  </top>
104
104
 
105
- </BorderPane>
105
+ </BorderPane>
106
+
107
+
108
+ 追記:
109
+ BorderPane root = (BorderPane) FXMLLoader.load(getClass().getResource("Window.fxml"));
110
+
111
+ を変更した時にエラーが出るようになりました。
112
+
113
+ もともと、
114
+ BorderPane roots = new BorderPane();
115
+ だったですが、この時にはwindowが2つ出ました。