• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Method call from mouseClicked

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
reply
    Bookmark Topic Watch Topic
  • New Topic