Welcome to Java Programming Forums. Could you please post the code you are using so we can see the problem. Also this is not an Eclipse question, it's a Java question.

P.S Please move this JavaPF...