The code compiles for me. Make sure the Draw class has been compiled with the new source. Delete the Draw.class file to make sure.still get the same errors
The default: case is still missing from the switch statement. You need it to print a message when its called.