Is this a java programming problem
or a question about using the netbeans program?