简体   繁体   中英

Unable to import projects into E(fx)clipse

I am a beginner to JavaFX 2.0. I am using Pro JavaFX 2: Definitive Guide by Apress . WHen I download the code and try to import it into Eclipse, I get an error that there are no projects to import.

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

Will someone please help me sort it out ?

The source is not organized as Eclipse projects so you can not import them. Create new projects and copy the sources from the Explorer

Those sources are IDE agnostic. You can either:

  • Use Eclipse: install the Java FX plugin from here . Also note that on that page it tells you how to make a new Java FX project. 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. You can download it from here . It support Java FX out of the box . A tutorial on how to create a Java FX project with it can be found here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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