Windows->Preferences->General->Editors->Text Editors
Windows->Preferences->Java->Code Styles->Formatter