Convert to netbeans