Hi there,

For people to help it's useful if you put [ code=java] [ /code] (without spaces) around your code, and also paste the sample output.

Thanks