Converting to Netbeans project