Java to COM/ActiveX Bridge
COM objects (including ActiveX/OLE objects) can fire “event”s.
EZ JCom uses the standard AWT/Swing-style model of event notification. You simply register a “listener” with the COM object. When the event fires, your listener class’s methods will be called.
EZ JCom generates abstract listener classes. You must derive a class from the abstract listener class, and supply methods which will be called upon event notification.
For COM objects that indicate they can listen to an event, EZ JCom generates “add” and “remove” methods for the listeners.