This problem can also be fixed from within Eclipse, as is described in the blog post Fix Eclipse colours in ubuntu 12.04.
- Go into the Preferences (Window -> Preferences)
- Choose General -> Appearance from the left menu
- Uncheck the checkbox Use mixed fonts and colours for labels
Before

After
