Netbeans structured code