1

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.

Perception
  • 79,279
  • 19
  • 185
  • 195
itro
  • 7,006
  • 27
  • 78
  • 121

3 Answers3

2

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.

Radu Murzea
  • 10,724
  • 10
  • 47
  • 69
1

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.

Punith
  • 21
  • 2
1

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.

jewelsea
  • 150,031
  • 14
  • 366
  • 406
  • i'm using windows 7.also have proxy enabled on the network. i did put proxy there also but still no effect. is there any other way, i means manually? – itro Feb 14 '12 at 08:10
  • I don't know of another way. I suggest you file an issue with NetBeans. – jewelsea Feb 14 '12 at 22:42
  • It's not quite the same but if you wanted, you could try creating a normal Java Project, adding a new library to NetBeans which contains jfxrt.jar (from the JavaFX SDK runtime installation) and using that library in your project. This will allow you to develop, compile and run projects which use JavaFX source. If you also want to package the application for deployment, then use the JavaFX ant tasks. You don't get all of the functionality of the NetBeans JavaFX integration, but it is enough to develop JavaFX software. – jewelsea Feb 14 '12 at 22:55