File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Method call from mouseClicked

 
capp luckett
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
capp luckett
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic