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.
Change the ActionProvider and the Ant build script template such that actions org.netbeans.spi.project.SingleMethod.COMMAND_(RUN|DEBUG)_SINGLE_METHOD are supported. For reference on how to make it work with "Compile on Save", look at http://hg.netbeans.org/main/rev/bf6e5ac3b136. I will add another reference here once full implementation for J2SE projects is ready.
I guess this would be good to fix for 6.7. Also have a look at ea79749c1951 (unrelated issue 119922 but involves changes in *ActionProvider).
*** This bug has been marked as a duplicate of bug 171153 ***