I don't have a decent editor with me at the moment, so I can't identify which line is 92 without a lot of manual manipulation of the code after copying and pasting it.... but here are some things I've spotted:
- there are some strange comments going on above the constructor and the init() method - comments start with // for a comment that extends to the end-of-line, or with /* for a comment that extends to the next */ You seem to be mixing these styles, although my best guess is that the way you've done it is working, and is not the problem
- you have a call to "enabeEvents", that is probably supposed to be "enableEvents" - again, not going to be the source of your compiler errors.... yet - this would come up after it was able to successfully parse your code, so you have to get past the existing problem
- you have some "stray" semicolons in the frame.setLocation() method call - and there's also a problem with the parentheses in this method call.
Joined: Mar 24, 2004
I absolutely agree with Steve's suggestion that you learn and try to adopt Sun's coding style standards - most Java developers stick to it to some degree or another, which means:
- once you're used to it, you'll be better able to read the code of all those "conforming" programmers out there
- the vast majority of other Java programmers will be more able to help you with, and later maintain, your code - without having to run your code through a source code beautifier first
I would imagine not. It looks like you're trying to comment out the last half of that statement (after the first semicolon), but you've only got one slash. Comments need two slashes.Once you have that semicolon, the compiler expects you to have reached the end of the statement and thinks the single slash is the start of your next statement (which, of course, causes it to unceremoniously barf).