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.
JavaFX 2 deployment model assumes that each Run is preceeded by deployment which creates JAR, JNLP and HTML artifacts. A JavaFX 2 specific launcher is embedded into the deployed JAR, taking into account properties of the project as a whole. Running a single java file in JavaFX 2 Project thus does not make sense, but the Run File, Debug File and Profile File actions are enabled and expose meaningless behavior - a dialog prompting for selection of main class is shown (this is not possible as the class is inserted by the FX deployment task during deployment process). Therefore it is desirable to disable single file run actions in JavaFX 2 projects.
fixed in jetmain http://hg.netbeans.org/jet-main/rev/8239083b98ef
Integrated into 'main-golden', will be available in build *201205160400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8239083b98ef User: Petr Somol <psomol@netbeans.org> Log: #212473 - In FX Projects it should not be possible to Run File, Debug File, Profile File