简体   繁体   English

JAVA Fx和Eclipse

[英]JAVA Fx and Eclipse

I can't find my answer anywhere 我在任何地方都找不到答案

I know javafx is now part of the SDK as of java 8 release and late java 7 release. 我知道从Java 8版本和Java 7之后的版本开始,javafx现在已成为SDK的一部分。

I am using Eclipse and scene builder 8 to build an app for a school project. 我正在使用Eclipse和Scene Builder 8为学校项目构建应用程序。

I want to know if the teacher needs to install e(fx)clipse to run the app so it will work properly ? 我想知道老师是否需要安装e(fx)clipse才能运行该应用程序,以便它可以正常运行?

Also I am using a maven build for Junit dependencies do I need to add any javaFx library ? 另外,我正在为Junit依赖项使用Maven构建,是否需要添加任何javaFx库? for it to work (even tho its already part of the sdk) 为它工作(即使它已经是SDK的一部分)

Thank you 谢谢

I want to know if the teacher needs to install e(fx)clipse to run the app so it will work properly ? 我想知道老师是否需要安装e(fx)clipse才能运行该应用程序,以便它可以正常运行?

No, e(fx)clipse is not mandatory for building JavaFX apps. 不,e(fx)clipse对于构建JavaFX应用不是必需的。 If you don't have a highly complex app, you will be fine without efxclipse. 如果您没有高度复杂的应用程序,那么没有efxclipse将会很好。

Also I am using a maven build for Junit dependencies do I need to add any javaFx library ? 另外,我正在为Junit依赖项使用Maven构建,是否需要添加任何javaFx库? for it to work (even tho its already part of the sdk) 为它工作(即使它已经是SDK的一部分)

No if you're using Oracle Java JDK 8, you don't need to add any JavaFX library. 否,如果您使用的是Oracle Java JDK 8,则无需添加任何JavaFX库。

A good tutorial to start with JavaFX apps is http://code.makery.ch/library/javafx-8-tutorial/ , I found it useful when I started out. 从JavaFX应用程序开始的一个很好的教程是http://code.makery.ch/library/javafx-8-tutorial/ ,当我起步时发现它很有用。

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

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