Hey everyone,
I asked a question a couple of days ago about the BeatBox program from the Head First
Java 2nd Ed book.
my program was fine, but it would not compile.
I emailed Bert bates, as he has helped me in the past, I got a reply.
He said that I should ask here if someone knows any tricks to get this fixed, other than a complete re-install of my java.
he gave me a program to
test, this is the code:
expected output:
here is my compiler error:
StaticTest java:7: cannot find symbol
Symbol: constructor Box(int)
Location: class Box
Box b = new Box(BoxLayout.Y_AXIS);
1 error
is there a fix, or would I have to re-install java?
Davy
[ November 26, 2006: Message edited by: Davy Kelly ]