Refactoring Netbeans