File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Method call from mouseClicked Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Method call from mouseClicked" Watch "Method call from mouseClicked" New topic
Author

Method call from mouseClicked

capp luckett
Ranch Hand

Joined: Dec 07, 2000
Posts: 33
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).]


flodin
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
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
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).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Method call from mouseClicked
 
Similar Threads
dumb array definition error, help!!!
Need help on two compile errors
Null Pointer Exception Error - .contains(p)
Listern Object Compile error & Method Call
Grid Alignment and Null Exception