I know that the code is probably too long, but pleas help. This is an example from Core Java. There are 12 errors whic can all be in a couple
of categries. The first is the Action interface problem. If i try to make a listener or yellowAction for example, then i get an error that there is
an incompatibile type. But the AbstractAction implements Action interface and it should work. On the other hand, if I make an object of ColorAction
or AbstractAction, but not Action, then the static fields in the Action interface cant be accessed with a "cannot find symbol" error message.
This is straight from the book but it doesnt work.
Also, i tried to run some small code fragments with some class extending AbstractAction and i got the same error. I checked the API and
the AbstractAction implements Action so it should work. What am I thinking wrong?