This is only a minor annoyance but if I can figure this out I\'ll be very happy.
Is it possible to change the default project directory in Netbeans 7? I don\'t know
If you are asking for how to set the main project so that it runs by default and is debugged by default, then:
Run > Set Main Project, and select your project.
This will highlight in bold the name of the folder of your project in the files windows, usually on your the left hand side.