Hey folks, I have this source file here.
When I try to compile it in Netbeans 5.5 (Mac), I get errors in my inner class methods which seem to indicate that the inner classes can't access the variables, etc of the outer class. Can someone help me determine what I'm doing wrong?
To summarize, it should create a window with a panel - the panel has a little icon on it that should move when I press the arrow keys on my keyboard. I'm fine with debugging once the code works, but this is ht I get when I try to compile the beast:
Compiling 1 source file to /Users/Bex/javawork/practiceapp1/build/classes
/Users/Bex/javawork/practiceapp1/src/practiceapp1/Main.java:59: cannot find symbol
symbol : variable x
location: class practiceapp1.Main.MacListener
x--;
/Users/Bex/javawork/practiceapp1/src/practiceapp1/Main.java:62: cannot find symbol
symbol : variable y
location: class practiceapp1.Main.MacListener
y--;
etc, etc.
Any help
[ March 28, 2007: Message edited by: Kaleey James ]