[Pogamut-list] Player Vs Player

rudolf.kadlec pogamut-forum at artemis.ms.mff.cuni.cz
Thu May 8 09:42:50 CEST 2008


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Player Vs Player
I think that this isn't Pogamut specific question. It's genera Java programming question.

The problem is that the closing curly bracket before the CATCH statement must correspond to a opening bracket after the TRY, but in your code you haven't properly closed the block starting at "if (sensor) {". Thus you have to add one closing bracket before the CATCH.

Netbeans can help you in this king of situations, when you have cursor at the closing bracket the editor will highlight the matching opening bracket. 
R

----

Reply Link: <https://artemis.ms.mff.cuni.cz/pogamut/tiki-view_forum_thread.php?forumId=6&comments_reply_threadId=172&comments_parentId=118&post_reply=1#form>





More information about the Pogamut-list mailing list