Here is the format of a basic Java class:
Code:
public <Class Name>{
<variable>
<variable>
<etc>
// This is the "main" method, and there should be only one in your program.
// Don't put this in every class, just one.
static public main(String[] args){
// Code
}
public <return type> <method name>(<method arguments>){
// Code
}
} I would create a new file for each class, but that's just my style. Make sure your program looks something like the above. The compiler will complain if you have the wrong syntax. It's pretty good about giving you useful information - just work one error at a time. One syntax error can cause a cascade of other errors - fixing it will frequently fix a lot of false errors.
I'll take a look at the rest of what you have tomorrow.