NetBeans is great IDE not only for Java development. But I use it only in this case.
In NetBeans forum I found several questions about how to change main project.
When you create new project system always ask:”Set as Main Project“. It is good,but what if you need to change Main Project?
It is very simple and I am going to explain and show how you can do it.
Right mouse click at project which should be Main Project and select Set as Main Project.
Why need to change main project. Answer is simple –keyboard shortcut. You can run project by clicking Run in project’s context menu or you can click F6 and run Main Project.
Was it useful for you? Leave a comment.
No related posts.




Recent Comments