public void processEvent(Object theEvent){
  if (theEvent instanceof TimerEvent) {
    processTimeEvent((TimerEvent)theEvent);
    return;
  }
  EventBean eventBean;
  if (theEvent instanceof EventBean) {
    eventBean=(EventBean)theEvent;
  }
 else {
    eventBean=wrapEvent(theEvent);
  }
  processWrappedEvent(eventBean);
}

public void processEvent ( Object theEvent ) { if ( theEvent instanceof TimerEvent ) { processTimeEvent ( ( TimerEvent ) theEvent ) ; return ; } EventBean eventBean ; if ( theEvent instanceof EventBean ) { eventBean = ( EventBean ) theEvent ; } else { eventBean = wrapEvent ( theEvent ) ; } processWrappedEvent ( eventBean ) ; }
process an unwrapped event .
