Win a copy of Rust Web Development this week in the Other Languages 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

GRRRR! compile error!!!

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey, i just cant see the error guys...maybe you can see and help me out? its between two files, so i hope you dont mind me posting both class's and the respective compile errors..

COMPILE ERRORR:


COMPILE ERROR:
[ edited to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ March 30, 2003: Message edited by: Dirk Schreckmann ]
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, I tried to make some suggestions earlier, but you must have deleted your post before I finished...hehe, things happen like that sometimes.
Also, your new post gives me a better idea of what is going on. The compiler is still complaining that it can't find the getHeight() method. Is this implemented in the MoveableObject class? If so, please post it, too. Also be sure to use the CODE tags to preserve the indentation in your code. It sure makes it much easier to read.
HTH
Layne
 
fred fredricks
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, sorry, i didnt mean to do it...newbie, i am playin around trying to see what does what etc...thanks for the help...here is the other class

 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay, one problem is that MoveableObject needs to be declared public. If that doesn't fix all the problems, you should then remove all of your .class files and start the compilation over again. Sometimes this is the only thing necessary to fix such problems because some of the current .class files were generated from an old version of the code.
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Schpellink eror: getHight() should be getHeight()
PS. Funny, I thought Laine was our spelling expert
:rotten joke: Sorry Layne, really
[ March 31, 2003: Message edited by: Barry Gaunt ]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic