Netbeans autogen