netbeans example