Convert Chapter 2 project to Netbeans compatibility