java9 javafx_JavaFx JFoenix Java9

问题

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:

f1ccfdf2ce88554a70072945facfd8ea.png

Select Search repositories:

31138ac4e8233dc9ba7cc459c98a30ef.png

Type JFoenix. Select the first option:

c1b4b975a6ab840e4f71de727e9278fe.png

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:

1a19f66dfa0fbe128aa688f5c2ae5f26.png

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.

65a2b70b7a0b7f07f575c2992d5d983c.png

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值