Stuck on 2.2 Adding Action Listeners

compiler doesnt like the private class I put in...when its out of the
DrawFrame class it says "modifier private not allowed here" and wen its
inside the DrawFrame class it says "DrawFrame.Listener is not abstract
and does not override abstract method actionPerformed(ActionEvent) in
ActionListener"...
going home now!