We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
I managed to copy your code into a project in Eclipse 3.0, and build it all except for the line: String mrn = ((RegisterForm) form).getMrn();
which I had to hack to: String mrn = "whatever, we just need to compile it, not run it";
I had no build problems at all after that!
I suggest you have a dependency error in your project, and need to "Rebuild All" your project. My next useless suggestion, is to go through the Warning Levels in your IDE, and see if your warning levels are way too high. I suspect it doesn't like the switching your doing when you use both "java.SQL.Connection" and plain old "Connection" by itself, in your imports and method declarations. Good luck SewSew!