Java Code shall be formatted according Code Conventions for the Java Programming Language by Sun Microsystems, Inc.
Additional, indentations shall be done by (4)spaces, instead of tabs.
Eclipse 3.2 - and I guess also other Java IDEs - provides a Code Formatter option according the Java Convention by Sun. You may import the Eclipse Code Formatter Profile Java Conventions without tabs, which differs from Eclipse's build-in Java Convention Formatter Profile only by the Indentation Tab policy modified from Mixed to Spaces only.