简体   繁体   English

无法将项目导入E(fx)剪辑

[英]Unable to import projects into E(fx)clipse

I am a beginner to JavaFX 2.0. 我是JavaFX 2.0的初学者。 I am using Pro JavaFX 2: Definitive Guide by Apress . 我正在使用Apress Pro JavaFX 2: Definitive Guide WHen I download the code and try to import it into Eclipse, I get an error that there are no projects to import. 当我下载代码并尝试将其导入Eclipse时,出现一个错误,即没有要导入的项目。

I tried every possible way, using an archive, via file system, etc. 我尝试了所有可能的方式,使用档案,通过文件系统等。

However, nothing seems to help. 但是,似乎没有任何帮助。

Here are the code downloads: http://www.apress.com/9781430268727 以下是代码下载: http : //www.apress.com/9781430268727

Will someone please help me sort it out ? 有人可以帮我解决一下吗?

The source is not organized as Eclipse projects so you can not import them. 源代码未组织为Eclipse项目,因此您无法导入它们。 Create new projects and copy the sources from the Explorer 创建新项目并从资源管理器复制源

Those sources are IDE agnostic. 这些资源与IDE无关。 You can either: 您可以:

  • Use Eclipse: install the Java FX plugin from here . 使用Eclipse:从此处安装Java FX插件。 Also note that on that page it tells you how to make a new Java FX project. 还要注意,在该页面上,它告诉您如何创建新的Java FX项目。 Follow those steps and either: add the sources to your new projects afterwards or, right when you create it, chose as location the location of your sources 请执行以下步骤,或者:将源添加到新项目中,或者在创建时就将源的位置选择为位置

  • Use NetBeans IDE. 使用NetBeans IDE。 You can download it from here . 您可以从这里下载。 It support Java FX out of the box . 它开箱即用地支持Java FX A tutorial on how to create a Java FX project with it can be found here . 此处可以找到有关如何使用Java FX项目创建教程。

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

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