fix alignment issues everywhere as well. I'm sending you my eclipse formatter. you should import it from: Preferences->Java->Code Style -> Formatter and then pick import. Then pick the built-in-edited-by-semih style. Then highlight all of your code and do right-click->Source->Format or it should be something like ctrl+shift+format in windows.