use the eclipse Source > Correct Indentation on all of your code to make it easier to read the nested for/if loops.