private void initializeEventType() { form.cmbType().clear(); ClearSpanEventsCollection coll = null; try { coll = domain.getEventTypes(); } catch (DomainInterfaceException e) { //throw new DomainRuntimeException(e); engine.showMessage("Cannot get the Event Types"); return; } for(int i=0;i<coll.size();i++) { ClearSpanEvents ev=coll.get(i); form.cmbType().newRow(ev, ev.getText()); } }