A general comment on the code style that you write...
Often you indent code that should not be indented and often you neglect to indent code within curly braces.  This makes it very hard to see what is inside a loop and what is outside a loop.  When you do this, it is easy to make logic errors.  

See lines 226 227 above
See lines 219 above
See lines 183-206 above
See line 106 above
etc.

There is an eclipse feature called Source > Correct Indentation
Please start using this.