Now that you've learned how to create, compile, and execute a module using the Command Prompt, let's see how to do the same thing using the NetBeans IDE:
- Create a new project in the NetBeans IDE by clicking
in the toolbar or, through the menu File | New Project, you'll see a New Project overlay with a new option in the Java category--Java Modular Project:
![](https://static.packt-cdn.com/products/9781787126909/graphics/assets/8b388ffc-67c2-444a-852f-6fafba8e3d07.png)
- Select that and click Next. In the next dialog, you can specify the name of your project (I chose addressbookviewer) and the location of your project and click Finish:
![](https://static.packt-cdn.com/products/9781787126909/graphics/assets/277edc0f-1436-44b2-878c-3b0694a05445.png)
- Once the new project is loaded onto your IDE, you can right-click on the name of the project in the Projects tab and choose the option to create a new module:
![](https://static.packt-cdn.com/products/9781787126909/graphics/assets/36b6871a-7826-4e63-a9cf-baabb67cbbee.png)
- In the New Module dialog, enter the name of the module packt.addressbook and click Finish:
![](https://static.packt-cdn.com/products/9781787126909/graphics/assets/073b9c7b-daef-4c97-a7ef-f421866f2e88.png)
And just like that, you've created a new module...