Setting main project in NetBeans

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.

setting main project 1

setting main project 2

setting main project 3

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.

Share

No related posts.

Leave a Reply

  

  

  

You can use these HTML tags

<a href=""title=""><abbr title=""><acronym title=""><b><blockquote cite=""><cite><code><del datetime=""><em><i><q cite=""><strike><strong>

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna,tincidunt vitae molestie nec,molestie at mi. Nulla nulla lorem,suscipit in posuere in,interdum non magna.