Welcome to JavaRanch Please find the code button; I have edited your post so you can see how much better it looks, and the code is easier to read.
Do you have a particular question? It isn't obvious from your post. Or is this a reply to somebody else's question? If so, it really ought to have been posted as a reply on their thread. And I shall have to send you an important administrative private message.