Hi everyone!!!

I'm trying to fire a button click event, but I'm afraid to do something bad, because my listener never catches the event (I never see the alert ).

This is what I wrote:

Code:
	    final Button myButton= new Button();
	    myButton.setSize("90px", "45px");
	    myButton.setText("PRESS ME");
	    myButton.addSelectionListener(new SelectionListener<ButtonEvent>() {
	    	public void componentSelected(ButtonEvent ce) {
	    	}
	    	public void handleEvent(ButtonEvent e) {
	    		
	    		MessageBox.alert("", "HELLO", null);
	    	}
	    });

	    EventType et = new EventType(Event.ONCLICK);
	    myButton.fireEvent(et);
Could you please give a clue to me?

Thanks a lot!!!

Regards,Luca