FXML / FXMLLoader error diagnostic tool(s) sought

后端 未结 2 394
你的背包
你的背包 2020-12-19 18:22

overview

Hi, here\'s an outline use-case. I have a seemingly valid FXML file developed in JavaFX Scene Builder. It is by now a

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-19 18:41

    I had the same problem using SceneBuilder 2.0 and JavaFX2. The problem is that SceneBuilder generates JavaFX8 code. The code is valid but not 100% JavaFX2 compatible. Maybe that could be your problem. You should get an Exception from the FXMLLoader in which line the error is.

提交回复
热议问题