public void addEvents(Collection<CalendarEvent> events) { eventList.addAll(events); for (CalendarEvent event : events) { if (event instanceof BasicEvent) { ((BasicEvent) event).addEventChangeListener(this); } } fireEventSetChange(); }