copied from netbeans folder