JavaFx JFoenix Java9

陌路散爱 提交于 2019-12-13 01:04:36

问题


so I updated my Java from 8 to 9, and I do realize that Jfoenix has separate Jar file for Java 9. However after download the Jar file then trying to import to Scene builder like I did before, nothing shows up, None of the custom controller shows up when I trying to import. Can anyone tell me what is going on ?


回答1:


First, make sure you are using Gluon Scene Builder 9.0.1, that can be downloaded from here.

Once installed, go to the Jar/FXML Manager option:

Select Search repositories:

Type JFoenix. Select the first option:

Click Add Jar. The latest dependency will be used. In this case, com.jfoenix:jfoenix:9.0.1.

You will find all the controls from the library:

Finally click Import Components. You can start using them by dragging the controls from the Custom pane.

Note that you can also select manually other dependency versions, clicking the Manually add Library from repository option from the Library Manager, and selecting the desired version based on the group and artifact.



来源:https://stackoverflow.com/questions/48180260/javafx-jfoenix-java9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!