Can you first tell us what is wrong? Are you getting a compilation error? Is the code throwing a run-time exception? Is it compiling and running but not behaving well? These details can help us help...