ActionEvent e = new ActionEvent( myButton, ActionEvent.ACTION_PERFORMED, "OK" , 0 );

ActionEvent( Object source, int id, String command, int modifiers );