put code into netbeans