netbeans sample