Re: NullPointerException Help!
You're quite welcome and glad you've got it working. By the way, what IDE are you using (if any)? Many of them have settings that will warn you if you are doing this, if you are shadowing a variable. I know that Eclipse does.
Originally Posted by amazin112