by amir from netbeans