1) use code tags
2) follow the Sun coding standards, which you can get from Sun.
Doing both will make your code a lot easier to read and debug, as it stands I'm not even going to try.
Reputation Points: 1658
Solved Threads: 331
duckman
Offline 7,719 posts
since Nov 2004