This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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
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
Joined: Dec 06, 2001
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.