Problem with firing event within listener

Dear all,

I’m trying to fire a custom event when someone hits a button, but get a java.lang.IllegalAccessException.

This an excerpt of my code:

final Button eventButton = new Button ("Fire");

eventButton.addListener (new Button.ClickListener () {
    @Override
    public void buttonClick (ClickEvent event) {
        fireEvent (new MyClickEvent (eventButton));
        }
    });

MyClickEventListener myClickEventListener = new MyClickEventListener () {
    @Override
    public void onClick (MyClickEvent event) {
        System.out.println ("User clicked on button.");;
        }
    };

addListener (MyClickEvent.class, myClickEventListener, "onClick");

addComponent (eventButton);

This is the event:

public class MyClickEvent extends Event {
    public MyClickEvent (Component source) {
        super (source);
        }
    }

And this is the listener:

public interface MyClickEventListener {
    void onSpeel (MyClickEvent event);
    }

Am I doing something wrong? Or is there an other solution?