如何将 JavaFX 导入 Eclipse?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/33819052/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 22:57:39  来源:igfitidea点击:

How do I import JavaFX into Eclipse?

javaeclipsejavafx

提问by TheSuds13

I have the latest JDK (update 65), but Eclipse doesn't even recognize JavaFX when I try to import it.

我有最新的 JDK(更新 65),但是当我尝试导入它时,Eclipse 甚至无法识别 JavaFX。

How do I fix this and import it?

我如何解决这个问题并导入它?

回答by GOXR3PLUS

Followthe steps:

请按照以下步骤操作:

1)Go Help

1)去帮助

2)Go Eclipse MarketPlace...

2) 去 Eclipse MarketPlace...

3)Search e(fx)clipse

3)搜索e(fx)剪辑

4)Install It

4)安装它

回答by Dasrath

After following these steps 1) Go Help 2) Go Eclipse MarketPlace 3) Search e(fx)clipse 4) Install it

执行这些步骤后 1) 前往帮助 2) 前往 Eclipse MarketPlace 3) 搜索 e(fx)clipse 4) 安装它

you can import javafx and if you want to add on your project just follow:

您可以导入 javafx,如果您想添加到您的项目中,请按照以下步骤操作:

Java Build Path---->Libraries---->Add Libraries----> JavaFx SDK

Java构建路径---->库---->添加库----> JavaFx SDK