Two Laptop Bag*
The moose likes Beginning Java and the fly likes GRRRR! compile error!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "GRRRR! compile error!!!" Watch "GRRRR! compile error!!!" New topic
Author

GRRRR! compile error!!!

fred fredricks
Greenhorn

Joined: Mar 04, 2003
Posts: 16
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 ]
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
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


Java API Documentation
The Java Tutorial
fred fredricks
Greenhorn

Joined: Mar 04, 2003
Posts: 16
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

Joined: Dec 06, 2001
Posts: 3061
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.
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
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 ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GRRRR! compile error!!!
 
Similar Threads
getting to a 300 answer to compile
java.lang.NoSuchMethodError ???????
Assigment operation in Rectangle2D class
compilation error
Button Problems