public class XTreeDataModelListenerEvent implements ifc.awt.tree._XTreeDataModel.XTreeDataModelListenerEvent{
public void fireEvent(){
XMutableTreeDataModel xModel = (XMutableTreeDataModel) UnoRuntime.queryInterface(XMutableTreeDataModel.class, oObj);
XMutableTreeNode node = xModel.createNode("EventNode", true);
try {
xModel.setRoot(node);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("ERROR: could not preform event: " + ex.toString());
ex.printStackTrace();
}