been a while, still getting back into it, but on page 392 of the Head First Java, I was doing the Music Box program with GUI.
I get an error from the code, and I am not sure why.
the 1 error I get is this line of code
i get this error:
I copied the code directly, i fixed other errors I done, but I have been looking at this for over an hour now, and cant get it.
here is the full program code:
any help will be appreciated.
[ November 18, 2006: Message edited by: Davy Kelly ] [ November 18, 2006: Message edited by: Davy Kelly ]
How simple does it have to be???
Joined: Jan 12, 2004
I figured it out, because I have another version of MyDrawPanel, I renamed the one in this program as MyDrawPanel1 and I forgot to fix the declerations of them, so some had MyDrawPanel and some had MyDrawPanel1, its all fixed now.