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.
MouseEvents FX sample created through File->New Project->Samples->JavaFX->MouseEvents is marked as "Contains files with errors" and can not be compiled with JavaFX 2.1 SDK. The sample code did not change in NB since JavaFX 2.0.x thus the reason is apparently an external change in API between JavaFX 2.0 and 2.1. NetBeans 7.2 should support the JavaFX 2.1 version of the sample.
fixed in jetmain: http://hg.netbeans.org/jet-main/rev/0c0561a16188
I downloaded and tested the 2.1 version of the sample and verified that it also shows no errors and runs on machine with FX 2.0.3.
Integrated into 'main-golden', will be available in build *201204130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0c0561a16188 User: Petr Somol <psomol@netbeans.org> Log: #211009 MouseEvents FX sample in NB is broken when JavaFX 2.1 is installed