回答編集履歴
1
修正
test
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
あなたが`Controller`、および`Controller2`でimportしている`ActionEvent`は`java.awt.event.ActionEvent`で、これはawt用のものであり、JavaFXでは使えません。そのため、`handle
|
1
|
+
あなたが`Controller`、および`Controller2`でimportしている`ActionEvent`は`java.awt.event.ActionEvent`で、これはawt用のものであり、JavaFXでは使えません。そのため、`handleNext`がJavaFXで認識できるハンドラメソッドと型が違っているためにエラーが起きています。`javafx.event.ActionEvent`を使ってください。
|
2
2
|
|
3
3
|
また、同様に`Button`もawt用のものですので、`javafx.scene.control.Button`に変えてください。
|