Please, see update about this topis at
"Build is not grey anymore"
Create new project in NetBeans IDE. Right click the project. The
Build and
Clean action is always grey out.
When you open an old project then it is there. So what is the magic here? Go to project properties, in category
Compiling you'll find
Compile On Save check box. When checked then the saved file is always compiled when you save it.
Are you interested in more details? Try it in
latest builds or
read the specification.