Javafx error exception in Application start method no controller specified

前端 未结 3 954
一个人的身影
一个人的身影 2020-11-29 12:41

When I run the following code in intellij with java 8 I get an error. Please Help. The fxml is generated using the scene builder, I think the button Dagrooster isn\'t linked

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-29 13:08

    It is true you havent told the fxml file where the controller class is...

    this ...

    
    

    As this...

    
    

    Or even this...

    
    

    .. then put both files in the same folder

提交回复
热议问题