...
>I am receiving an error when I am compiling my main gui class for a
>BattleShip game I am writing for my grad class.
>
>I get this error:
...
>Thanks for any and all help.
Suggestions..
- Use common Java nomenclature for class, method and
attribute names. Other people trying to help (as well as other
developers looking at the code later) will be able to understand it
more easily. Notable amongst the code was the use of method
names that start with InitialUpperCase.
- Don't forget to ask a question.
- Tune in to the forum for beginners, available as
comp.lang.java.help ..or the forum that specialises in GUI's
comp.lang.java.gui (but this is more a c.l.j.help question)
- Do more apps. from the command line till you have the
hang of things like exception handling.
- Investigate try/catch.

Signature
Andrew Thompson
http://www.athompson.info/andrew/
KDawg44 - 04 Jun 2007 16:44 GMT
> ..
>
[quoted text clipped - 23 lines]
>
> Message posted via JavaKB.comhttp://www.javakb.com/Uwe/Forums.aspx/java-general/200706/1
Thanks for the suggestions. I was trying to throw the exception for a
method that was inherited from the Swing class and it didnt want me
throwing them so I had to encapsulate the code in a try-catch block.
Thanks.