Eclipse might be a little too good for beginners. Its auto-pilot for alot of stuff. I'd say if your just learning, stick with the text-editor or any basic interface until you know whats going on.
To answer your question (even though its already been answered, but I thought i'd contribute), spaces/tabs/blank lines is all preference and is not enforced in the code at all. The compiler completely ignores it all. The reason for spacing is readability. Generally, the /tab thing is the most important, and everything else is user preference, such as some people like putting the { directly after a method such as
Code:
myMethod() {
//stuff
}
instead of on the next line as in
Code:
myMethod()
{
//stuff
}
I prefer the latter as it seems to frame the code better, but noone will yell at you for doing it the other way.