Post the code for your class in the code=java code tags and I'll help you solve this error. I've gotten similar errors before as well. If you don't know how to use code tags then read the sticky at the top of this forum.
Good question, I'm actually not sure. I'm not a mod - it just makes it very hard to help people if things aren't in those code tags that color, format, and number the code. But yeah, go ahead and put errors in code tags as well.
You had helped me in another post for this same assignment and I noticed the lines you posted were colored. I was able to get the format and line numbers using code=syntax and /code tags but no color in my code. What tags should I be using for that?
As BestJewSinceJC already mention for syntax highlighting you should use code=java
[/code] will come as
As for posting errors received from application we leave posting format on you. What is important to as is the use of code tags on posted code (which some people refuse to do and receive pointless infractions and sometimes even ban)