listenerList.add (TestEventListener.class, l);
Object[] listeners = listenerList.getListenerList(); for (int i = listeners.length-2; i>=0; i-=2) { if (listeners[i] == TestEventListener.class) { ((TestEventListener) listeners[i+1]).handleEvent(o); } }
EventListenerListEventSource bfles = new EventListenerListEventSource(); bfles.test();
listenerList.remove (TestEventListener.class, l);