This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
As you know, we have to prepare JFX for coming release. Now there is a problem with platform setting. I create a new netbeans project from Ensemble application (You can open any item in the menu and click sources -> Save Netbeans Project.) It opens a new generated projects in Netbeans 7.1beta As platform "Default_javafx_platform" is set. NetBeans "knows" about this platform. BUT no javafx.* package is recognized by IDE. After it we try to do the next trick: we set JDK6 as platform. After, we set "default_javafx_platform" again. Now we get working and compiling project. Summary: initially platform is not applied. You can see sample project and screenshot in attachements.
Created attachment 111192 [details] Screenshot of situation when known platform in newly created project is not recognized
Created attachment 111193 [details] Sample newly generated project. Which has "defaul_javafx_platform" set, but not recognized.
(In reply to comment #2) > Created an attachment (id=111193) [details] > Sample newly generated project. Which has "defaul_javafx_platform" set, but not > recognized. Your sample project actually works fine for me on the latest beta build (201109252201). Can you give it a try with this build?
(In reply to comment #3) > (In reply to comment #2) > > Created an attachment (id=111193) [details] [details] > > Sample newly generated project. Which has "defaul_javafx_platform" set, but not > > recognized. > > Your sample project actually works fine for me on the latest beta build > (201109252201). Can you give it a try with this build? Ahh, sorry for confusion. It works for me only because I have an instance of FX2 SDK installed on the default path which is set project.properties of your generated Sample. This problem is a result of https://netbeans.org/bugzilla/show_bug.cgi?id=202455 To workaround, invoking Properties on your project and just pressing OK, is enough. The project.properties are corrected after this action. You don't need to switch to another Platform.
*** This bug has been marked as a duplicate of bug 202455 ***