简体   繁体   English

在Eclipse Luna中使用JavaFX(JDK 1.8.0_40)不会显示SceneBuilder来创建UI

[英]Using JavaFX (JDK 1.8.0_40) in Eclipse Luna does not show the SceneBuilder to create the UI

I am new to JavaFX. 我是JavaFX的新手。 When I try to build a simple JavaFX program in Eclipse Luna. 当我尝试在Eclipse Luna中构建简单的JavaFX程序时。 after I created the new FXML Document, I try to open the .fxml file through the scenebuilder, Eclipse shows the following message in the editor: 创建新的FXML文档之后,我尝试通过scenebuilder打开.fxml文件,Eclipse在编辑器中显示以下消息:

"opening the file with scene builder failed. Try setting the absolute path to scenebuilder in your the preferences" “使用场景构建器打开文件失败。尝试在首选项中设置SceneBuilder的绝对路径”

Any hints how to solve this Problem? 任何提示如何解决这个问题?

There is setting to set the path to the Scenebuilder in Eclipse. 在Eclipse中可以进行设置以设置SceneBuilder的路径。 Go to the preferences and search for the JavaFX tab. 转到首选项,然后搜索JavaFX选项卡。

Scenebuilder首选项

EDIT: 编辑:

The reason for not finding the scenebuilder in the jdk 8 build is that Oracle has decided to no longer provide binary downloads for it. 无法在jdk 8构建中找到scenebuilder的原因是Oracle决定不再为其提供二进制下载。

Have a look at these posts: Oracle Scenebuilder JavaFX 8 看看这些帖子: Oracle Scenebuilder JavaFX 8

Btw, you can find the recent builds of scenebuilder at http://gluonhq.com/products/downloads/ 顺便说一句,您可以在http://gluonhq.com/products/downloads/中找到SceneBuilder的最新版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM