Hi Kay,

as a little followup to my answer, here's the relevant code from org.apache.bsf.util.ReflectionUtils.addEventListener(...)

------ cut here ----
   // find the event set descriptor for this event
   BeanInfo bi = Introspector.getBeanInfo (source.getClass ());
   EventSetDescriptor esd = (EventSetDescriptor)
findFeatureByName ("event", eventSetName, bi.getEventSetDescriptors ());
------ cut here ----

Java 1.5 docs for the relevant stock-classes: <http://java.sun.com/j2se/1.5.0/docs/api/java/beans/Introspector.html> and <http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html>.
(More explanation in my earlier post to your e-mail.)

Regards,

---rony


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to