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.