/** * Copyright (c): Uwe Schmidt, FH Wedel * * You may study, modify and distribute this source code * FOR NON-COMMERCIAL PURPOSES ONLY. * This copyright message has to remain unchanged. * * Note that this document is provided 'as is', * WITHOUT WARRANTY of any kind either expressed or implied. */ // die eigene Ereignis-Klasse import java.util.EventObject; public class CounterChangedEvent extends EventObject { protected int cnt; public CounterChangedEvent(Object source, int cnt) { super(source); this.cnt = cnt; } public int getCnt() { return cnt; } }