Use SceneBuilder with JavaFX 11 in IDEA

后端 未结 3 1394
花落未央
花落未央 2021-01-15 02:35

I am using IDEA (with OpenJDK 11), and I am trying to use the SceneBuilder to display my FXML files. It works, except when I use inherited JavaFX components, for example :

3条回答
  •  一向
    一向 (楼主)
    2021-01-15 03:33

    In addition to José Pereda's answer,

    in a Maven project, you need to set build > plugins > maven-compiler-plugin > configuration > release to 8, instead of 11

提交回复
热议问题