简体   繁体   English

如何在NetBeans 10 / JDK11上启用JavaFX

[英]How do I enable JavaFX on NetBeans 10 / JDK11

All my attempts to find out how to set up JavaFX on NetBeans have got bogged down with instructions for older versions that don't seem to work now. 我所有试图找出如何在NetBeans上设置JavaFX的尝试都陷入了似乎无法正常工作的旧版本的说明。 If I do file | 如果我提交文件| new project | 新项目| JavaFX Applicationm I get the message: JavaFX Applicationm我收到消息:

Failed to automatically set-up a JavaFX Platform. 
Please go to Platform Manager, create a non- 
default Java SE platform, then go to the JavaFX tab, 
enable JavaFX and fill in the paths to valid JavaFX SDK and JavaFX Runtime. 
Note: JavaFX SDK can be downloaded from JavaFX website.

But if I go to Platform Manager and create a non-default Java SE platform, there is no JavaFX tab. 但是,如果我转到平台管理器并创建非默认的Java SE平台,则没有JavaFX选项卡。

Are there any up-to-date instructions anywhere? 哪里有最新的说明?

I would suggest this , This is an updating docs about using JavaFX with Netbeans with JDK 11 . 我建议这样做,这是有关将JavaFX与NetBeans和JDK 11一起使用的更新文档。 You can also find how to integrate java with other IDE like IntelliJ and Eclipse : https://openjfx.io/openjfx-docs/ 您还可以找到如何将Java与其他IDE(例如IntelliJ和Eclipse)集成: https : //openjfx.io/openjfx-docs/

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

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