These style guides correspond to the following settings in Eclipse 2:
In Preferences => Java => Code Formatter => New Lines
None of the boxes "Insert a new line before opening brace", "Insert new lines in control statements", "Clear all blank lines", "Insert new line between 'else if'", or "Insert a new line inside an empty block" are checked.
In Preferences => Java => Code Formatter => Line Splitting
Maximum line length is 80.
In Preferences => Java => Code Formatter => Style
None of the boxes "Compact assignment" or "Indentation is represented by a tab" are checked.
Number of spaces representing a tab: 4. This should probably be read as Number of spaces representing a level of indentation.
In Preferences => Java => Java Editor => Appearance
Displayed tab width: 8
"Insert space for tabs (see Formatting preferences)" checked. There seems to be no way of having tabs set at width 8 and the indentation level set at 4 at the same time so we must let Eclipse generate code without tabs to obey the Sun Coding standard.