This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Hi again++. I have another compile error from the same program I posted earlier today. I am trying to call a method that uses "contains" for in a rectangle object. The error is: symbol" : method checkBox (java.awt.Point) location: class Game myApp.checkBox(e.getPoint());". The code for the method and class are:
(Marilyn added code tags) [This message has been edited by Marilyn deQueiroz (edited October 09, 2001).]
Originally posted by capp luckett: Hi again++. I have another compile error from the same program I posted earlier today. I am trying to call a method that uses "contains" for in a rectangle object. The error is: symbol" : method checkBox (java.awt.Point) location: class Game myApp.checkBox(e.getPoint());".
I don't see class Game (where the error is)
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
capp luckett
Ranch Hand
Joined: Dec 07, 2000
Posts: 33
posted
0
The Class Game is also the name of the app. I am posting the same code as I did to your reply on the "dumb array definition error, help!!! " question. Source is: Please learn to add [ code] and [ /code] tags to format your code so the rest of us can read it. (take the spaces out when actually using them) -Cindy
[This message has been edited by Cindy Glass (edited October 09, 2001).]