Set up your JavaFX project in NetBeans IDE as follows.
- From the File menu, choose New Project.
- 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.
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.