205206207208209210211212213214215
case Component.XTYPE_XLISTBOX : XListBox xListBox = (XListBox) UnoRuntime.queryInterface(XListBox.class, compObject); if (listener instanceof XActionListener) { xListBox.addActionListener((XActionListener) listener); } break; } }