itro
itro

Reputation: 7228

How do I open JavaFX projects in Netbeans?

Set up your JavaFX project in NetBeans IDE as follows.

  1. From the File menu, choose New Project.
  2. In the JavaFX application category, choose JavaFX Application. Click Next.

Why can't I the see JavaFX application category? How can i fix it? My Netbeans version is 7.1.

Upvotes: 1

Views: 5672

Answers (3)

Punith
Punith

Reputation: 31

In my case,

JavaFX Plugins are deactivated, I activated them by this way.

Tools -> Plugins -> Installed (Tab) -> Select JavaFX plugins and click on Activate them.

JavaFX has been enabled in my NetBeans.

Upvotes: 2

jewelsea
jewelsea

Reputation: 159466

Refer to the documentation on using NetBeans JavaFX support and configuring a NetBeans JavaFX platform. Additionally, make sure you have installed JavaFX. Try with the latest NetBeans nightly build, as the NetBeans 7.1 build does have some bugs in it's JavaFX support. If it still doesn't work, file an issue with NetBeans

JavaFX support for Macintosh and Linux is only in early access form at the moment and would be unlikely to work out the box in NetBeans 7.1, but perhaps could be made to work if you extracted the Macintosh or Linux JavaFX early access builds and followed the NetBeans JavaFX platform setup documentation.

Upvotes: 1

Radu Murzea
Radu Murzea

Reputation: 10900

Go to Tools -> Plugins -> Available Plugins. Press "Reload Catalog" and search for the "JavaFX 2 Support". Install it and restart Netbeans.

It should work now.

Upvotes: 2

Related Questions