fun findAndInit(it: Iterator<*>) { while (it.hasNext()) { findAndInit(it.next()) } }
Eventually gets called when the MouseDelegator is added to the BeanContext , and when other objects are added to the BeanContext anytime after that . The MouseDelegator looks for a MapBean to manage MouseEvents for , and MouseModes to use to manage those events . If a MapBean is added to the BeanContext while another already is in use , the second MapBean will take the place of the first .