Add Java FX 2.0 to an existing NetBeans project

I have an existing Java project using swing in NetBeans, and I want to start using java FX 2.0 in some components of the project

Project properties use "JDK 1.7-fx enabled":

This is configured as follows:

Solution

If you create projects in older NetBeans, you may miss libraries from the FX enabled platform

You can:

>Either recreate the project in NetBeans 7.1 and copy the source > or include the next Library in lib: C: / program files / Oracle / JavaFX 2.0 SDK / RT / lib / jfxrt jar

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>