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.
With a previous version of Netbeans I used to run my code by pressing the Run Project button, then changing something in the code, and run it again by pressing Run Project, while the first instance was still running. Since I upgraded to version 8.2, when I run the code the first time and until execution ends, the Run Project button is grayed out and cannot be clicked. To enable it back I have to switch to another open source file, or click on another project. Then I can run it even before the first execution ends.
This behavior was made intentionally. It was made to: a) be consistent with Java b) to solve UI-freeze issue [1] You can run NetBeans with flag [2] to return the earlier behavior. Please note that in that case you should avoid clean&building several projects simultaneously (see comments in bug [1]) [1] https://netbeans.org/bugzilla/show_bug.cgi?id=242340 [2] -J-Dorg.netbeans.modules.cnd.makeproject.parallel-build=true