Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Method call from mouseClicked

 
Ranch Hand
Posts: 33
  • 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).]
 
Sheriff
Posts: 9099
12
  • 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
  • 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).]
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic